I just installed the paperclipped_uploader extension for a client on a 
Dreamhost site, but I’m getting 500 errors for each attempted uploaded image. 
Is there something I’m doing wrong? It seems to work on a local mongrel site.

What am I doing wrong?

Here’s a snippet from the log:

> !! session key is _alyssajeannestudios.com_session
> !! key param is 
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 
> 
> Processing Admin::AssetsController#upload (for 216.161.238.233 at 2010-05-03 
> 18:26:52) [POST]
>   Parameters: {"Filename"=>"Signature.png", 
> "_alyssajeannestudios.com_session"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
>  "action"=>"upload", 
> "authenticity_token"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxx=", 
> "Upload"=>"Submit Query", "controller"=>"admin/assets", 
> "asset"=>{"upload_token"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}, 
> "Filedata"=>#<File:/tmp/RackMultipart20100503-29140-184zq8v-0>}
> 
> ActiveRecord::UnknownAttributeError (unknown attribute: upload_token):
>   
> vendor/extensions/paperclipped_uploader/lib/assets_controller_extension.rb:6:in
>  `new'
>   
> vendor/extensions/paperclipped_uploader/lib/assets_controller_extension.rb:6:in
>  `upload'
>   radiant (0.8.1) vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:19:in 
> `process'
>   
> vendor/extensions/paperclipped_uploader/lib/session_cookie_from_query_string.rb:17:in
>  `call'
>   /dh/passenger/lib/phusion_passenger/rack/request_handler.rb:92:in 
> `process_request'
>   /dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in 
> `main_loop'
>   /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:400:in 
> `start_request_handler'
>   /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:351:in 
> `handle_spawn_application'
>   /dh/passenger/lib/phusion_passenger/utils.rb:184:in `safe_fork'
>   /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:349:in 
> `handle_spawn_application'
>   /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
>   /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
>   /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in 
> `start_synchronously'
>   /dh/passenger/lib/phusion_passenger/abstract_server.rb:163:in `start'
>   /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:209:in 
> `start'
>   /dh/passenger/lib/phusion_passenger/spawn_manager.rb:262:in 
> `spawn_rails_application'
>   /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:in 
> `lookup_or_add'
>   /dh/passenger/lib/phusion_passenger/spawn_manager.rb:256:in 
> `spawn_rails_application'
>   /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:in 
> `synchronize'
>   /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in 
> `synchronize'
>   /dh/passenger/lib/phusion_passenger/spawn_manager.rb:255:in 
> `spawn_rails_application'
>   /dh/passenger/lib/phusion_passenger/spawn_manager.rb:154:in 
> `spawn_application'
>   /dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:in 
> `handle_spawn_application'
>   /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
>   /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
>   /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in 
> `start_synchronously'
> 
> Rendering /home/dahjelle/alyssajeannestudios/2010-05-02/public/500.html (500 
> Internal Server Error)


David Alan Hjelle
1 Corinthians 2:2
http://thehjellejar.com/

See Rita's spoons at <http://jarofwood.com/>.

See my brother's software at <http://pseudorandomsoftware.com>.

See the church management software I build at Icon Systems, Inc: 
<http://iconcmo.com>.

_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to