qburst / qbmeetingroomplugin

Qburst's meeting room plugin for redmine
Other
12 stars 36 forks source link

(500 Internal Server Error) #5

Open Levetofte opened 12 years ago

Levetofte commented 12 years ago

Hi,

I am new to Redmine, Rails and ruby..

I have installed the plugin and get a 500 internal Server error. I have made all exept for the "edit" of the init.rb file. Please explain that.. I get the "Book meeting" link in the top menu, but not in the project menu - but as only link when under project.

Please see log:

Processing ApplicationController#index (for 10.126.33.109 at 2012-09-13 12:56:23) [GET] Parameters: {"controller"=>"meeting_calendars", "action"=>"index"}

NoMethodError (undefined method possible_values' for nil:NilClass): vendor/plugins/redmine_meeting_room_calendar/vendor/plugins/redmine_meeting_room_calendar/app/controllers/meeting_calendars_controller.rb:11:ininitialize' passenger (3.0.12) lib/phusion_passenger/rack/request_handler.rb:96:in process_request' passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:513:inaccept_and_process_next_request' passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:274:in main_loop' passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:321:instart_request_handler' passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in send' passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:275:inhandle_spawn_application' passenger (3.0.12) lib/phusion_passenger/utils.rb:479:in safe_fork' passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:270:inhandle_spawn_application' passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in __send__' passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:in start_synchronously' passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:180:instart' passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in start' passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:219:inspawn_rails_application' passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:132:in lookup_or_add' passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:214:inspawn_rails_application' passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:82:in synchronize' passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:79:insynchronize' passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:213:in spawn_rails_application' passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:132:inspawn_application' passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:275:in handle_spawn_application' passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:insend' passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in server_main_loop' passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:instart_synchronously' passenger (3.0.12) helper-scripts/passenger-spawn-server:99

Rendering /opt/bitnami/apps/redmine/htdocs/public/500.html (500 Internal Server Error)

istupin commented 12 years ago

It seems you have wrong values in meeting_calendars_controller.rb. I'm not a developer, but i suggest you try changing that: @meeting_rooms=@custom_field[4].possible_values