Internal 500 Error
Added by Sergey Fursov over 13 years ago
Hello, when I click on spent time calculation (../time_entries) I get 500 error.
This is the part of production log:
ActionView::TemplateError (undefined local variable or method `time_entries_context_menu_path' for #<ActionView::Base:0x7fe5b180b440>) on line #53 of app/views/timelog/_list.rhtml: 50: </table> 51: <% end -%> 52: 53: <%= context_menu time_entries_context_menu_path %> app/views/timelog/_list.rhtml:53:in `_run_rhtml_app47views47timelog47_list46rhtml_locals_entries_list_object' app/views/timelog/index.html.erb:18 app/controllers/timelog_controller.rb:66:in `index' app/controllers/timelog_controller.rb:53:in `index' /usr/lib64/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib64/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib64/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib64/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:82:in `start' Rendering /var/lib/redmine/public/500.html (500 Internal Server Error)
Great thanks for any ideas..
<edited by Mischa the Evil to wrap log in pre tags>
Replies (2)
RE: Internal 500 Error
-
Added by Mischa The Evil over 13 years ago
At first: please take note of submissions to provide all needed details at once.
Regarding your issue: I've just tried reproducing it with source:/trunk@7657 using WEBrick 1.3.1 on Ruby Enterprise Edition 1.8.7-x and wasn't able to replicate the given error/stacktrace.
Are you running any plugins/core patches? What Redmine version? Etc...
RE: Internal 500 Error
-
Added by Sergey Fursov over 13 years ago
Hello, thanks for your answer. I just delete this variable (time_entries_context_menu_path) from app/views/timelog/_list.rhtml -)
I take some tests - everything working fine.