Internal Error 500 after upgrading redmine 1.2.1
Added by Erik Hetenyi over 13 years ago
Hello
Could someone tell me what is the problem?
Thanks
Erik
Processing WelcomeController#index (for 10.97.12.202 at 2011-07-15 07:54:54) [GET]
Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index
ActionView::TemplateError (can't dup NilClass) on line #12 of app/views/layouts/base.rhtml:
9: <%= favicon >
10: <= stylesheet_link_tag 'application', :media => 'all' >
11: <= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' >
12: <= javascript_heads >
13: <= heads_for_theme %>
14: <!--[if IE 6]>
15: <style type="text/css">
app/models/user_preference.rb:45:in `dup'
app/models/user_preference.rb:45:in `[]='
app/models/user_preference.rb:25:in `initialize'
app/models/user.rb:250:in `new'
app/models/user.rb:250:in `pref'
app/helpers/application_helper.rb:895:in `javascript_heads'
app/views/layouts/base.rhtml:12:in `_run_rhtml_app47views47layouts47base46rhtml'
passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
Rendering /var/www/redmine-1.2.1/public/500.html (500 Internal Server Error)
About your application's environment
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.7
Rack version 1.1
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Edge Rails revision unknown
Application root /var/www/redmine-1.2.1
Environment production
Database adapter mysql
Database schema version 20110511000000
Replies (3)
RE: Internal Error 500 after upgrading redmine 1.2.1 - Added by Luis Serrano Aranda over 13 years ago
I solved this issue deleting the line 13 inside the file app/views/layouts/base.rhtml
<%= heads_for_theme %>
RE: Internal Error 500 after upgrading redmine 1.2.1 - Added by Luis Serrano Aranda over 13 years ago
Do you have the plugin image cache installed ?
RE: Internal Error 500 after upgrading redmine 1.2.1 - Added by Erik Hetenyi over 13 years ago
Hi
Thanks but I also found the solution, for me the settings table delete is solved the problem in the database.