sfWidgetFormInputSWFUploadPlugin action return 404

Ask help about existing plugins, or find advice about the way to build up your own.

Moderators: dwhittle, Ian

sfWidgetFormInputSWFUploadPlugin action return 404

Postby jakoubekcz » Tue Sep 06, 2011 8:52 am

Hi,
I have installed this plugin and everyting is working fine (as if I tried SWF Upload from demo). I have problem wirh 404 upload response each time a run symfony.

If a set $this->form->getWidget('upload')->setOption('swfupload_upload_url', '/upload.php/kampane/3/upload'); (upload.php is just a empty file) response is
Code: Select all
Date: Tue, 06 Sep 2011 06:39:52 GMT
Content-Encoding: gzip
X-Powered-By: PHP/5.3.5-1ubuntu7
Connection: Keep-Alive
Content-Length: 20
Server: Apache/2.2.17 (Ubuntu)
Vary: Host,Accept-Encoding
Content-Type: text/html
Keep-Alive: timeout=15, max=98

200 OK

And plugin returns success upload

If i set url to /index.php/kampane/3/upload index.php will run symfony. Upload action does nothing. Response (from browser is)
Code: Select all
Date: Tue, 06 Sep 2011 06:43:23 GMT
Content-Encoding: gzip
X-Powered-By: PHP/5.3.5-1ubuntu7
Connection: Keep-Alive
Content-Length: 20
Pragma: no-cache
Server: Apache/2.2.17 (Ubuntu)
Vary: Host,Accept-Encoding
Content-Type: text/html; charset=utf-8
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Keep-Alive: timeout=15, max=100
Expires: Thu, 19 Nov 1981 08:52:00 GMT

200 OK


but the plugin returns: An HTTP error occured: 404 Not Found

Please, does anybody know where is the trap? Thanks.
jakoubekcz
Junior Member
 
Posts: 1
Joined: Tue Sep 06, 2011 8:31 am

Return to General plug-ins

Who is online

Users browsing this forum: No registered users and 2 guests