stefan-langenmaier / redmine_permits

MIT License
4 stars 0 forks source link

500 error after installation #2

Open kadeshiseraph opened 11 years ago

kadeshiseraph commented 11 years ago

Hi, this plugin is exactly what I need and I cannot find any other plugins that do a similar thing. I am attempting to install onto Redmine 1.4 and receive the following 500 error when accessing any Administrative panel after installation:

Processing CustomFieldsController#index (for 192.168.1.10 at 2012-11-06 12:12:09) [GET]
Parameters: {"action"=>"index", "controller"=>"custom_fields"}
Rendering template within layouts/admin
Rendering custom_fields/index

ActionView::TemplateError (No route matches {:action=>"index", :controller=>"permits"}) on line #3 of app/views/admin/_menu.html.erb:
1: <div id="admin-menu">
2:   <ul>
3:     <%= render_menu :admin_menu %>
4:   </ul>
5: </div>

lib/redmine/menu_manager.rb:150:in `render_single_menu_node'
lib/redmine/menu_manager.rb:102:in `render_menu_node'
lib/redmine/menu_manager.rb:91:in `render_menu'
lib/redmine/menu_manager.rb:168:in `menu_items_for'
lib/redmine/menu_manager.rb:165:in `each'
lib/redmine/menu_manager.rb:165:in `menu_items_for'
lib/redmine/menu_manager.rb:90:in `render_menu'
app/views/admin/_menu.html.erb:3
app/views/layouts/admin.html.erb:4
app/helpers/application_helper.rb:1048:in `content_for'
app/views/layouts/admin.html.erb:2
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:in `accept_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:in `start_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:in `handle_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:in `handle_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:in `server_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:in `start'
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:in `spawn_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:in `spawn_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:in `synchronize'
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:in `spawn_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:in `__send__'
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:in `start_synchronously'
passenger (3.0.12) helper-scripts/passenger-spawn-server:99

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

I know that this has not been updated for a year but if you can offer any advice it would be grealy appreciated.

stefan-langenmaier commented 11 years ago

I'm sorry I don't use this plugin anymore and I think I used it with Redmine 1.3 the last time.

I think something changed with the routes and you have to create a "config/routes.rb" file to create them.

Please consider if you really need it. I thought it was a good idea in the beginning but with maintaining all theses permissions you may have more problems than benefits.

kadeshiseraph commented 11 years ago

Thanks your help. I will consider that. Much appreciated :)

From: stefan-langenmaier notifications@github.com To: stefan-langenmaier/redmine_permits redmine_permits@noreply.github.com, Cc: kadeshiseraph andrew.wright@bermans.co.uk Date: 07/11/2012 01:04 Subject: Re: [redmine_permits] 500 error after installation (#2)

I'm sorry I don't use this plugin anymore and I think I used it with Redmine 1.3 the last time. I think something changed with the routes and you have to create a "config/routes.rb" file to create them. Please consider if you really need it. I thought it was a good idea in the beginning but with maintaining all theses permissions you may have more problems than benefits. — Reply to this email directly or view it on GitHub.


This e-mail is CONFIDENTIAL and LEGALLY PRIVILEGED. If you are not an intended recipient of this e-mail and its attachments, you must take no action based on them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this e-mail in error.


Bermans is the trading name of Bermans LLP, a limited liability partnership registered in England and Wales number OC315608, which is authorised and regulated by the Solicitors Regulation Authority. Registered office: Lancaster House, Mercury Court, Tithebarn Street, Liverpool, L2 2QP.

Offices:

Lancaster House, Mercury Court, Tithebarn Street, Liverpool, L2 2QP (DX 14116 Liverpool) T: 0151 224 0500

Cardinal House, 20 St Mary’s Parsonage, Manchester, M3 2LY (DX 14365 Manchester) T: 0161 827 4600


Web: http://www.bermans.co.uk