I''m a rails novice, and I took on a freebie gig for Got it all working locally on my machines. Loaded it up on my shared host. Followed the instructions for deployment here: http://wiki.rubyonrails.com/rails/pages/HowToInstallOnSite5 I continue to get Bad Request Your browser sent a request that this server could not understand. The production log stack trace pasted below - has to do with undefined method - downcase in action_controller. I had been getting some support from my host, but they seem to have stopped responding. They seemed to think it had to do with different versions of rails, so I froze my gems and uploaded them and am still having issues. If I run webrick via SSH I can connect on port 3000, so this seems to be an apache/fastcgi issue. I''m using Rails 1.1.6 and the latest gems. Does anyone have any advice? Thanks! Brian STACK TRACE: ---------------------- undefined method `downcase'' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:18:in `method'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:933:in `log_processing'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:407:in `process_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in `process_without_session_management_support'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'' dispatch.rb:10 undefined method `downcase'' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:18:in `method'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:933:in `log_processing'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:407:in `process_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in `process_without_session_management_support'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'' ./dispatch.cgi:10 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
I''m getting the same error with another shared host. Again I can get the app running within SSH so def. seems to be an Apache/FCGI error. This seems to be a new problem as can only find a couple of posts and they all started this month. Brian Donahue wrote:> I''m a rails novice, and I took on a freebie gig for Got it all working > locally on my machines. Loaded it up on my shared host. Followed the > instructions for deployment here: > http://wiki.rubyonrails.com/rails/pages/HowToInstallOnSite5 > > I continue to get > Bad Request > Your browser sent a request that this server could not understand. > > The production log stack trace pasted below - has to do with undefined > method - downcase in action_controller. > > I had been getting some support from my host, but they seem to have > stopped responding. They seemed to think it had to do with different > versions of rails, so I froze my gems and uploaded them and am still > having issues. If I run webrick via SSH I can connect on port 3000, so > this seems to be an apache/fastcgi issue. I''m using Rails 1.1.6 and the > latest gems. > > Does anyone have any advice? > > Thanks! > > Brian > > STACK TRACE: > ---------------------- > > undefined method `downcase'' for nil:NilClass > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:18:in > `method'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:933:in > `log_processing'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:407:in > `process_without_filters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in > `process_without_session_management_support'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in > `process'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in > `dispatch'' > dispatch.rb:10 > undefined method `downcase'' for nil:NilClass > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:18:in > `method'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:933:in > `log_processing'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:407:in > `process_without_filters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in > `process_without_session_management_support'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in > `process'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in > `dispatch'' > ./dispatch.cgi:10 > > -- > Posted via http://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Daniel wrote:> I''m getting the same error with another shared host. Again I can get > the app running within SSH so def. seems to be an Apache/FCGI error. > This seems to be a new problem as can only find a couple of posts and > they all started this month.Daniel, I was able to get this working. At one point, it was simply that I had overwritten my environment.rb file with one that was pointing to a dev DB that didn''t exist. I also had to update my .htaccess file in my public folder to use fcgi - perhaps you''ve already done that... A lot of my issues just had to do with this being my first time deploying a rails app. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---