Will not generate thumbnails, getting error

Phoca Gallery - image gallery extension
Exess1000
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Jun 2012, 11:40

Will not generate thumbnails, getting error

Post by Exess1000 »

Hello to everyone,
I'm new to phoca. I keep getting this error when I click on the images tab;

Fatal error: Out of memory (allocated 30408704) (tried to allocate 16000 bytes) in /homepages/24/d316939354/htdocs/seeclearglass_joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

If I "stop thumbnail generation" then I wont get the error but no images will show up at all in the back end or front end. Does anyone know why this is happening am I forgetting to do something? Could it be because the images are too big?

Thanks
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9974
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Will not generate thumbnails, getting error

Post by Benno »

Hi,
see: 5. Allowed memory size of ... bytes exhausted ... https://www.phoca.cz/documents/50-phoca/ ... al-advices

Kind regards,
Benno
Exess1000
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Jun 2012, 11:40

Re: Will not generate thumbnails, getting error

Post by Exess1000 »

Hi Benno,

These are the errors im getting. I used the java uploader. The image files show up but when i check the images and click save this is when the errors come up. I don't get it and don't understand what to do. Hope you or someone can help.



Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/24/d316939354/htdocs/seeclearglass_joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/homepages/24/d316939354/htdocs/seeclearglass_joomla/images/phocagallery/img1641.jpg' is not a valid JPEG file in /homepages/24/d316939354/htdocs/seeclearglass_joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/24/d316939354/htdocs/seeclearglass_joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/homepages/24/d316939354/htdocs/seeclearglass_joomla/images/phocagallery/img1641.jpg' is not a valid JPEG file in /homepages/24/d316939354/htdocs/seeclearglass_joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/24/d316939354/htdocs/seeclearglass_joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/homepages/24/d316939354/htdocs/seeclearglass_joomla/images/phocagallery/img1641.jpg' is not a valid JPEG file in /homepages/24/d316939354/htdocs/seeclearglass_joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Exess1000
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Jun 2012, 11:40

Re: Will not generate thumbnails, getting error

Post by Exess1000 »

..and how do you access the GD library? I found something that said it may need to be enabled.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9974
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Will not generate thumbnails, getting error

Post by Benno »

Hi,
go to: backend --> Components --> Phoca Gallery --> Phoca Gallery Info
Image
the marked part of the infobox must be green.
..and how do you access the GD library? I found something that said it may need to be enabled.
GD library is a part of php. If you don't have access to the php.ini of your server, you need to contact your hosting provider.

Kind regards,
Benno
Post Reply