Internal Error after svn update to upgrade from 0.6.3 to 0.7.0

Added by Calvin Cheng over 10 years ago

Hi Guys,

Having some problems with my redmine after an upgrade to 0.7.0 Trunk r1388

About your application's environment
Ruby version 1.8.5 (i486-linux)
RubyGems version 1.1.1
Rails version 2.0.2
Active Record version 2.0.2
Action Pack version 2.0.2
Active Resource version 2.0.2
Action Mailer version 2.0.2
Active Support version 2.0.2
Application root /root/sources/redmine-trunk
Environment development
Database adapter mysql

It says
"Internal Error:
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance."
when I visit the site.
Nothing shows up on the browser.

Found this in the production.log file:-

ActionView::TemplateError (undefined method `signin_path' for #<ActionView::Base:0xb6f88930>) on line #24 of layouts/base.rhtml:

Any idea?

Regards,
Calvin

Replies (3)

RE: Internal Error after svn update to upgrade from 0.6.3 to 0.7.0 - Added by Calvin Cheng over 10 years ago

Check line 24 in base.rhtml file does not yield anything either.
On line 24, we have " <%= render_menu :account_menu -%>"

So signin_path must be called by render_menu and somehow could not be located.

Seems like this problem is unique to my install as searching the forums did not yield anyone with the same issue.

RE: Internal Error after svn update to upgrade from 0.6.3 to 0.7.0 - Added by Daniel Berger over 10 years ago

I see the same error in 0.7.1. I haven't narrowed it down yet.

Dan

RE: Internal Error after svn update to upgrade from 0.6.3 to 0.7.0 - Added by joe yang about 10 years ago

Hi,

Is base an object?

I encounter the same problem, I solved this by adding a new line:
map.resources :bases

to the routes.rb

Joe

(1-3/3)