I’m debugging a flash website that do a request to an php file named upload.php to upload some images to the server.
The problem i’m having that debugging it with Firebug the request to that page is throwing a 406 Not Acceptable status code and is not saving the images.
Post Data:
alt text http://pixelstg.com/rum_post_info.JPG
This website runs well on the staging server but in production server this process of the image upload fails. I only can assume that a change to apache configuration / php must be done, but i have no idea what to do.
upload.php code:
alt text http://pixelstg.com/rum_upload_code.JPG
Any help or guidance will be welcome, thanks in advance for the help.
att
Sherlack
The problem was with the Suhosin PHP hardening module. Some of the variable value length limits were being exceeded. The file that was edited was /etc/php.d/suhosin.ini and it logs to /var/log/.
After the file was edited by my hosting administrator the problem was resolved.
Thanks all for your support!