[typo] Admin Sidebar throwing up an error

Chris Sandy kidouses at gmail.com
Sun Nov 27 18:24:41 EST 2005


This just happened to me today and I'm not overly sure why.  From my
admin panel when I click on sidebar I get a Application Error(Rails)
message.
I checked the logs to see what was going on and I see this message

NameError (uninitialized constant SidebarController):
   
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:195:in
`const_missing'
   
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:72:in
`const_missing'
    routing.rb:234:in `traverse_to_controller'
    generated/routing/recognition.rb:295:in `eval'
   
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/routing.rb:234:in
`traverse_to_controller'
    generated/routing/recognition.rb:295:in `recognize_path'
   
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/routing.rb:458:in
`recognize!'
   
/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/dispatcher.rb:38:in
`dispatch'
   
/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:141:in
`process_request'
   
/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:53:in
`process!'
   
/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in
`each_cgi'
    /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each'
    /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
`each_cgi'
   
/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in
`process!'
   
/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in
`process!'
    dispatch.fcgi:24

I've tried putting a fresh sidebar_controller.rb in but that didn't make
any change.  Nothing else seems to be affected so I really don't have
any idea what to do.  Anyone have some ideas?

--Chris


More information about the Typo-list mailing list