Я получаю сообщение об ошибке при загрузке файла через swfupload в моем приложении rails.Странные вещи:
Так как это исправить ?? .. я должен показать сообщения об ошибках ??
Спасибо ..
ошибка, env = {"CONTENT_LENGTH" => "367350", "CONTENT_TYPE" => "multipart / form-data; border = ---------------------------- a19e5ae4ad3b "," GATEWAY_INTERFACE "=>" CGI / 1.1 "," PATH_INFO "=>" / documents.js "," QUERY_STRING "=>"", "REMOTE_ADDR" => "192.168.0.112", "REMOTE_HOST" => "fallz", "REQUEST_METHOD" => "POST", "REQUEST_URI" => "http://www.fallz.com:3000/documents.js"," SCRIPT_NAME "=>" ","SERVER_NAME "=>" www.fallz.com "," SERVER_PORT "=>" 3000 "," SERVER_PROTOCOL "=>" HTTP / 1.1 "," SERVER_SOFTWARE "=>" WEBrick / 1.3.1 (Ruby / 1.9.2 /2011-02-18) "," HTTP_HOST "=>" www.fallz.com:3000 "," HTTP_USER_AGENT "=>« Shockwave Flash »,« HTTP_CONNECTION »=>« Keep-Alive »,« HTTP_CACHE_CONTROL "=> "no-cache", "HTTP_ACCEPT" => "text / *", "rack.version" => [1, 1], "rack.input" => #, "rack.errors" => #>,"rack.multithread" => false, "rack.multiprocess" => false, "rack.run_once" => false, "rack.url_scheme" => "http", "HTTP_VERSION" => "HTTP / 1.1", "REQUEST_PATH "=>" / " "action_dispatch.parameter_filter"=> [: пароль: пароль,: password_confirmation], "action_dispatch.secret_token"=> "8c1eebbf7a4a0611ed20ae08f05cc32d552cb8e3fe9248a65af475e5b5cd50ef1efe3429c49b65e09cce4d61058e354beaaa161810c0e29717df72ff511ac8f2", "action_dispatch.remote_ip"=> 192.168.0.112," стойку.request.query_string "=>" "," rack.request.query_hash "=> {" Filename "=>" Firefox_wallpaper.png "," authenticity_token "=>"% 2F2dkUcfOutquj4AG9xjYMcF% 2BsfSesSXEwyTataDD1D1D0DFD_DF_DF_DF_DWD_DF_DF_0_0_0_0_0_0 ">{: filename => "Firefox_wallpaper.png",: type => "application / octet-stream",: name => "Filedata",: tempfile => #,: head => "Content-Disposition: form-data;имя = \ "FILEDATA \";filename = \ "Firefox_wallpaper.png \" \ r \ nContent-Type: application / octet-stream \ r \ n "}," Upload "=>" Отправить запрос "}," rack.request.form_input "=> #,"rack.request.form_hash" => {"Filename" => «Firefox_wallpaper.png», «authenticity_token" => «% 2F2dkUcfOutquj4AG9xjYMcF% 2BsfSesSXEwp70MD1itoY% 3D», «Filedata" = »file_fx_name_f_f_f_f_ок_файл_файла => .fx,: type => "application / octet-stream",: name => "Filedata",: tempfile => #,: head => "Content-Disposition: form-data;имя = \ "FILEDATA \";filename = \ "Firefox_wallpaper.png \" \ r \ nContent-Type: application / octet-stream \ r \ n "}," Upload "=>" Отправить запрос "}}