I get the following issue while uploading a file using hidden-iframe in ajaxscaffold. I couldn’t guess or determine the type of the error…?
I use ajaxscaffold to load the initial page and load the form while
creating and editing the records. But while updating i give custom url
to save the file as per my requirement.
#<EOFError: bad content body>
[“E:/ruby/lib/ruby/1.8/cgi.rb:982:in read_multipart'", "./script/../config/../v endor/rails/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb:20:in
initialize_query’”,
“./script/…/config/…/vendor/rails/railties/lib/webrick_se
rver.rb:34:in initialize'", "./script/../config/../vendor/rails/railties/lib/we brick_server.rb:116:in
new’”,
“./script/…/config/…/vendor/rails/railties/lib/
webrick_server.rb:116:in handle_dispatch'", "./script/../config/../vendor/rails /railties/lib/webrick_server.rb:81:in
service’”,
“E:/ruby/lib/ruby/1.8/webrick/
httpserver.rb:104:in service'", "E:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65: in
run’”, “E:/ruby/lib/ruby/1.8/webrick/server.rb:173:in
start_thread'", "E:/r uby/lib/ruby/1.8/webrick/server.rb:162:in
start’”,
“E:/ruby/lib/ruby/1.8/webric
k/server.rb:162:in start_thread'", "E:/ruby/lib/ruby/1.8/webrick/server.rb:95:i n
start’”, “E:/ruby/lib/ruby/1.8/webrick/server.rb:92:in each'", "E:/ruby/lib/ ruby/1.8/webrick/server.rb:92:in
start’”,
“E:/ruby/lib/ruby/1.8/webrick/server.
rb:23:in start'", "E:/ruby/lib/ruby/1.8/webrick/server.rb:82:in
start’”, “./sc
ript/…/config/…/vendor/rails/railties/lib/webrick_server.rb:67:in
dispatch'", "./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:59 ", "E:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_origina
l_require’”,
“E:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in r equire'", "./script/../config/../vendor/rails/activesupport/lib/active_support/d ependencies.rb:147:in
require’”,
“./script/…/config/…/vendor/rails/railties/l
ib/commands/server.rb:30”, "script/server:3:in require'", "script/server:3"] [2007-10-31 20:45:12] ERROR
/channel_editor/update_banner_image/115’
not found.
127.0.0.1 - - [31/Oct/2007:20:45:12 India Standard Time] “POST
/channel_editor/u
pdate_banner_image/115 HTTP/1.1” 404 308
Kindly help me to resolve this issue…