This topic is locked.

Posting error
I tried to upload an image and got an error, so I tried another one. Still gettin' an error. I'll paste it and hope it doesn't get messed up in posting it...

Errno::ENOENT in PostController#create

No such file or directory - /home/danbooru/data/53431.upload

RAILS_ROOT: /home/danbooru/public/../config/..
Application Trace | Framework Trace | Full Trace

/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `initialize'
/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `open'
/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:1261:in `open'
/usr/local/lib/ruby/1.8/fileutils.rb:1261:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:463:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:383:in `cp'
/usr/local/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
/usr/local/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
/usr/local/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
/usr/local/lib/ruby/1.8/fileutils.rb:382:in `cp'
/home/danbooru/app/models/post.rb:873:in `file='
/home/danbooru/app/controllers/post_controller.rb:36:in `create'

/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `initialize'
/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `open'
/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:1261:in `open'
/usr/local/lib/ruby/1.8/fileutils.rb:1261:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:463:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:383:in `cp'
/usr/local/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
/usr/local/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
/usr/local/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
/usr/local/lib/ruby/1.8/fileutils.rb:382:in `cp'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1675:in `send'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1675:in `attributes='
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1674:in `each'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1674:in `attributes='
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1508:in `initialize_without_callbacks'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:225:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:449:in `new'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:449:in `create'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:168:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:143:in `process_each_request!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:109:in `with_signal_handler'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:142:in `process_each_request!'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:141:in `process_each_request!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:55:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:25:in `process!'
/home/danbooru/public/dispatch.fcgi:24

/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `initialize'
/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `open'
/usr/local/lib/ruby/1.8/fileutils.rb:1262:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:1261:in `open'
/usr/local/lib/ruby/1.8/fileutils.rb:1261:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:463:in `copy_file'
/usr/local/lib/ruby/1.8/fileutils.rb:383:in `cp'
/usr/local/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
/usr/local/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
/usr/local/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
/usr/local/lib/ruby/1.8/fileutils.rb:382:in `cp'
/home/danbooru/app/models/post.rb:873:in `file='
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1675:in `send'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1675:in `attributes='
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1674:in `each'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1674:in `attributes='
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1508:in `initialize_without_callbacks'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:225:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:449:in `new'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:449:in `create'
/home/danbooru/app/controllers/post_controller.rb:36:in `create'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:168:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:143:in `process_each_request!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:109:in `with_signal_handler'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:142:in `process_each_request!'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:141:in `process_each_request!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:55:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:25:in `process!'
/home/danbooru/public/dispatch.fcgi:24

Request

Parameters: {"commit"=>"Upload", "post"=>{"rating"=>"Safe", "tags"=>"school_days", "parent_id"=>"", "source"=>"", "file"=>#<File:/tmp/CGI.53431.1>}}

Show session dump

---
flash: !map:ActionController::Flash::FlashHash {}

:user_id: 21

Response
Headers: {"cookie"=>"0"], ["0"], [], ["0"], [], [, "Cache-Control"=>"no-cache"}
I'm working on the problem right now please be patient
Should be fixed now :3
Yes it's working thanks ;o