Reputation: 3265
I am getting an http 500 error when using uploadify on Ubuntu.
The server has write permissions on the folder.
Same code works on windows local machine.
You can see the html and the actual error here: beta DOT my-calendar DOT gr/calendar/upload-photos
Upvotes: 3
Views: 4530
Reputation: 171
In case there was a usage of 3rd party libraries (e.g. GD for image manipulation using PHP) in the method handling the POST on the server side, please make sure that you have appropriate extensions loaded (e.g. yum install php-gd
for RHEL/CENTOS).
Upvotes: 0
Reputation: 559
Check with phpinfo() if mod_security is enabled. If so, that's a probable cause, you can disable it in a .htaccess file:
SecFilterEngine Off
SecFilterScanPOST Off
Upvotes: 0
Reputation: 104050
It is possible that the Apache / Zend server on the Ubuntu system has been confined with the AppArmor mandatory access control mechanism; perhaps the server is not allowed to write files due to the AppArmor policy, even if the standard Unix discretionary access control policy would otherwise allow the file write.
In a root shell, run aa-status
to see which profiles are loaded, and which programs currently running are confined. Perhaps your Apache is confined, perhaps Zend is confined. (I'm pretty unfamiliar with zend, so if it is an Apache module, just check for Apache. :)
Upvotes: 0
Reputation: 5812
As far as I could see it's Zend Framework's error, not uploadify. It returns 500 even when trying to upload using plain input type="file"
Upvotes: 0
Reputation: 15560
I think you should look at your webserver's log for explanations of the 500 (Internal Server Error) error. On Ubuntu this log can be found at /var/log/apache2/error.log
.
Upvotes: 1