Project

General

Profile

Need Help

Added by ANALISA DIONGSON almost 13 years ago

Hi!

I am new with Redmine.
I just installed Redmine and followed all the steps.
When i run the url "http://localhost:3000/" it open the home page but
i cannot login the admin user using admin password.

I tried to register new user but after saving I got an error and cannot login
though my user account is already registered when I look at the database.

This is the error when I login in using admin accounts or any user i created.

NoMethodError in AccountController#login
undefined method `destroy' for {}:Hash
RAILS_ROOT: C:/Ruby187/Apps/redmine
Application Trace | Framework Trace | Full Trace
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/request.rb:449:in `reset_session'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1244:in `reset_session_without_flash'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:159:in `reset_session'
C:/Ruby187/Apps/redmine/app/controllers/application_controller.rb:92:in `logged_user='
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:203:in `successful_authentication'
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:155:in `password_authentication'
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:142:in `authenticate_user'
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:30:in `login'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/request.rb:449:in `reset_session'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1244:in `reset_session_without_flash'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:159:in `reset_session'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1333:in `send'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Ruby187/Apps/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Ruby187/lib/ruby/1.8/benchmark.rb:308:in `realtime'
C:/Ruby187/Apps/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:151:in `perform_action'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:438:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/head.rb:9:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:99:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `synchronize'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:44:in `dispatch_cgi'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:27:in `dispatch'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:76:in `process'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74:in `synchronize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74:in `process'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:159:in `process_client'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:158:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:158:in `process_client'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `initialize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `new'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `initialize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `new'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:282:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:281:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:281:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/command.rb:212:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/request.rb:449:in `reset_session'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1244:in `reset_session_without_flash'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:159:in `reset_session'
C:/Ruby187/Apps/redmine/app/controllers/application_controller.rb:92:in `logged_user='
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:203:in `successful_authentication'
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:155:in `password_authentication'
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:142:in `authenticate_user'
C:/Ruby187/Apps/redmine/app/controllers/account_controller.rb:30:in `login'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1333:in `send'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Ruby187/Apps/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Ruby187/lib/ruby/1.8/benchmark.rb:308:in `realtime'
C:/Ruby187/Apps/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:151:in `perform_action'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:438:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/head.rb:9:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:99:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `synchronize'
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:44:in `dispatch_cgi'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
C:/Ruby187/Apps/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:27:in `dispatch'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:76:in `process'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74:in `synchronize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74:in `process'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:159:in `process_client'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:158:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:158:in `process_client'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `initialize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `new'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `initialize'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `new'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:282:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:281:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:281:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/command.rb:212:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
C:/Ruby187/bin/mongrel_rails:19:in `load'
C:/Ruby187/bin/mongrel_rails:19
Request
Parameters: {"back_url"=>"http%3A%2F%2Flocalhost%3A3000%2F",
"authenticity_token"=>"Fb+T3G2ej/hujEMI8GiOg/hBHxBqv0t0Ael9QS7Jlcg=",
"username"=>"admin",
"password"=>"admin",
"login"=>"Login »"}

Thanks,