Defect #10452
closedActionView::TemplateError
0%
Description
I am having some trouble with Redmine. When I try to view /projects/test/issues,/projects/test/gantt, and /projects/test/calendar, I get a 500 error back. I have reviewed the logs, but I cannot figure it out. Here's the production.log:
Processing IssuesController#index (for XX.XX.XX.XX at 2012-03-15 09:14:27) [GET]
Parameters: {"controller"=>"issues", "project_id"=>"test", "action"=>"index"}
Rendering template within layouts/base
Rendering issues/index
ActionView::TemplateError (Mysql::Error: Table 'redmine.questions' doesn't exist: SHOW FIELDS FROM `questions`) on line #6 of app/views/issues/_sidebar.html.erb:
3: <% if Herve Harster >
4: <= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => Herve Harster ><br />
5: < end >
6: <= call_hook(:view_issues_sidebar_issues_bottom) >
7:
8: < if User.current.allowed_to?(:view_calendar, Herve Harster, :global => true) >
9: <= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => Herve Harster) %><br />
vendor/plugins/question_plugin/app/models/question.rb:44:in `count_of_open_for_user_on_project'
lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `tap'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'
app/views/issues/_sidebar.html.erb:6
app/views/issues/index.html.erb:82
app/helpers/application_helper.rb:989:in `content_for'
app/views/issues/index.html.erb:81
app/controllers/issues_controller.rb:92:in `index'
app/controllers/issues_controller.rb:91:in `index'
passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.11) helper-scripts/passenger-spawn-server:99
Rendering /var/www/redmine/public/500.html (500 Internal Server Error)
If it helps, I followed these instructions when building the server
http://www.redmine.org/projects/redmine/wiki/HowTo_install_Redmine_on_CentOS_5