criscokid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-17 02:15 UTC
file_column on dreamhost
I am having trouble displaying an image after it is uploaded using file_column on Dreamhost. If I tell .htaccess to let the URL''s to the file_column folders the image will display, but I can no longer upload an image. Any help would be great. Thanks. This is the error I''m getting in my log if it helps: ActionController::RoutingError (no route found to match "/staffer/ picture/1/newchurch.jpg" with {:method=>:get}): /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/ action_controller/routing.rb:1292:in `recognize_path'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/ action_controller/routing.rb:1282:in `recognize'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/dispatcher.rb:40:in `dispatch'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:168:in `process_request'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:143:in `process_each_request!'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:109:in `with_signal_handler'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:142:in `process_each_request!'' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'' /usr/lib/ruby/1.8/fcgi.rb:597:in `each'' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:141:in `process_each_request!'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:55:in `process!'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:25:in `process!'' dispatch.fcgi:33 --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
criscokid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-17 02:18 UTC
Re: file_column on dreamhost
I forgot to mention that this occurs even when the permissions are set correctly on the file. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---