Page 1 of 1

error while saving image

Posted: 15 Feb 2011, 22:13
by devzero
Hello, a error appeared from nowhere since yesterday.

when I try to upload an image -> error while saving image ...

I did not make configuration changes, the error just showed up one day to another

I do not know what to do, I check the permissions and all manual

help me please.

Re: error while saving image

Posted: 15 Feb 2011, 22:24
by Jan
Hi, which version you are running, where exactly do you get the error, did you enable debug mode and php error reporting?

Re: error while saving image

Posted: 15 Feb 2011, 23:20
by devzero
Phoca Gallery 2.7.5
Joomla Version 1.5.20

Error Appear when i try to upload one or more images from frontend or backend

Debug dont show nothing
php error looks like this:

[14-Feb-2011 21:09:19] PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file
in /home/quilicur/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

[15-Feb-2011 15:11:09] PHP Warning: fileowner() [<a href='function.fileowner'>function.fileowner</a>]: stat failed for /home/quilicur/public_html/tmp/53f4309342860aa187ed249f0f3dc9af in /home/quilicur/public_html/libraries/joomla/filesystem/path.php on line 212

Re: error while saving image

Posted: 17 Feb 2011, 16:03
by ep98
Try to upload PNG downloaded from images.google.com.
If works, then contact the HSP about what and when was the latest system updates and what's wrong with GD2 library.
[code]
Premature end of JPEG file
[/code]

Have nothing to do with the gallery, it uses GD2 for resizing, conversion, etc.