error while saving image

Phoca Gallery - image gallery extension
devzero
Phoca Member
Phoca Member
Posts: 13
Joined: 12 Oct 2010, 22:18

error while saving image

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error while saving image

Post by Jan »

Hi, which version you are running, where exactly do you get the error, did you enable debug mode and php error reporting?
If you find Phoca extensions useful, please support the project
devzero
Phoca Member
Phoca Member
Posts: 13
Joined: 12 Oct 2010, 22:18

Re: error while saving image

Post 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
User avatar
ep98
Phoca Professional
Phoca Professional
Posts: 163
Joined: 12 May 2008, 12:00
Contact:

Re: error while saving image

Post 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.
Post Reply