Defect #173

Homepage returns 500 link_to_signin not found

Added by Nils Adermann over 11 years ago. Updated over 11 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Affected version:

Description

Here's the log:

Processing WelcomeController#index (for 91.39.218.124 at 2008-01-03 01:00:41) [GET]
Session ID: e549bff5907be6db3d463dc138422f9b
Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering within layouts/base
Rendering welcome/index

ActionView::TemplateError (undefined local variable or method `link_to_signin' for
#<#<Class:0x2b0dde23f728>:0x2b0dde2b60d0>) o
n line #28 of app/views/layouts/base.rhtml:
25: <%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class =>
'myaccount' >
26: <
= link_to_signout >
27: <
else >
28: <
= link_to_signin >
29: <
= link_to(l(:label_register), { :controller => 'account',:action => 'register' }, :class
=> 'register') if Se
tting.self_registration? >
30: <
end %>
31: </div>
/var/rails/redmine/app/views/layouts/base.rhtml:28:in `_run_rhtml_47app47views47layouts47base46rhtml'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:325:in `send'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:325:in `compile_and_render_template'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:301:in `render_template'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:260:in `render_file'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/layout.rb:254:in `render_without_benchmark'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:50:in `render'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:50:in `render'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1102:in `perform_action_without_filters'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:696:in `call_filters'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in
`perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in
`perform_action_without_rescue'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/rescue.rb:83:in `perform_action'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in `send'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in `process_without_filters'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:684:in
`process_without_session_management_suppor
t'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session_management.rb:114:in `process'
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:334:in `process'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:41:in `dispatch'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/fcgi_handler.rb:168:in `process_request'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/fcgi_handler.rb:143:in `process_each_request!'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/fcgi_handler.rb:109:in `with_signal_handler'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/fcgi_handler.rb:142:in `process_each_request!'
/usr/lib/ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/lib/ruby/1.8/fcgi.rb:609:in `each'
/usr/lib/ruby/1.8/fcgi.rb:609:in `each_cgi'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/fcgi_handler.rb:141:in `process_each_request!'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/fcgi_handler.rb:55:in `process!'
/var/lib/gems/1.8/gems/rails-1.2.5/lib/fcgi_handler.rb:25:in `process!'
/var/rails/redmine/public/dispatch.fcgi:24

History

#1 Updated by Jean-Philippe Lang over 11 years ago

OK

#2 Updated by Nils Adermann over 11 years ago

oh so you can close this as not a bug, I'd really guess it's
my fault for not properly restarting.

#3 Updated by Nils Adermann over 11 years ago

I saw it actually was in application_helper, but maybe I
really forgot to restart it, I downgraded to r1010 for now,
probably will keep using the stable versions ;-)

#4 Updated by Jean-Philippe Lang over 11 years ago

You shouldn't get this error. link_to_signin is defined in application
helper. See application_helper.rb, line 35:
http://www.redmine.org/repositories/entry/redmine/trunk/app/helpe
rs/application_helper.rb

If you have upgraded, make sure you have properly restarted the
application.

Also available in: Atom PDF