Error message when trying to upload pictures
I just tried to upload some photos to our PhotoPost Pro gallery and I got the following error message at the top of the page:
"Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/var/www/vhosts/mustanggt.org/httpdocs/photopost/uploads/1592/tnMVC00004.JPG' is not a valid JPEG file in /var/www/vhosts/mustanggt.org/httpdocs/photopost/image-inc.php on line 84"
In the middle of the page it says:
"Unable to create image [/var/www/vhosts/mustanggt.org/httpdocs/photopost/uploads/1592/tnMVC00004.JPG].
Please contact system administrator."
Any idea what is wrong and how I go about fixing this?
I'm also getting the following message too, sometimes when uploading pictures:
"Warning: imagejpeg() [function.imagejpeg]: Unable to open '/var/www/vhosts/mustanggt.org/httpdocs/photopost/data/500/medium/misc-18.jpg' for writing in /var/www/vhosts/mustanggt.org/httpdocs/photopost/image-inc.php"
Couple things here. Are permissions 777 on your uploads and data directories at every level beneath? Have you made sure also you are using jpegtran to strip any bad info out of file header so the processor does not fail?
Not a problem.
|All times are GMT -5. The time now is 06:28 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0