Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorecadmin
    • CommentTimeMay 20th 2008
     permalink
    After git to download the code and struggling through a local install on CentOS 5 I was finally able to get the app up, create an account and log in. I now have the problem of not being able to create users. When I click the 'Users' button I get an error page in my browser ... "We're sorry, but something went wrong." Below is the output from the shell where I started the server. Any help will be much appreciated.

    <<<OUTPUT from shell where 'script/server -e production' was executed>>

    Processing ApplicationController#list (for 172.16.0.63 at 2008-05-19 09:37:48) [GET]
    Session ID: fa1f3c697c9a37e6dc0eae67f22c37d6
    Parameters: {"action"=>"list", "controller"=>"users"}


    LoadError (Expected /var/www/html/clockingit/app/controllers/users_controller.rb to define UsersController):
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:249:in `load_missing_constant'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
    /vendor/rails/activesupport/lib/active_support/inflector.rb:257:in `constantize'
    /vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
    /vendor/rails/actionpack/lib/action_controller/routing.rb:1426:in `recognize'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170:in `handle_request'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load'
    /vendor/rails/railties/lib/commands/servers/mongrel.rb:64
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
    /vendor/rails/railties/lib/commands/server.rb:39
    script/server:3:in `require'
    script/server:3

    Rendering /var/www/html/clockingit/public/500.html (500 Internal Server Error)
    • CommentAuthoradmin
    • CommentTimeMay 20th 2008
     permalink
    I need to see the first error you get in your when accessing the users page after a ./script/server restart as the syntax error in app/controllers/users_controller.rb is hidden on following requests.

    -- Erlend
    • CommentAuthorecadmin
    • CommentTimeMay 20th 2008
     permalink
    OK. I got it now. It complained about RMagick on the first pass. Somehow I missed that during the installation process even though it's in the README. Thanks for pointing me in the right direction.