Fatal error: Allowed memory size...in the backend

Phoca Gallery - image gallery extension
hazman
Phoca Member
Phoca Member
Posts: 10
Joined: 16 Mar 2010, 21:46

Fatal error: Allowed memory size...in the backend

Post by hazman »

Hello,

Everything was working fine up until the thumbnail creation of 810 images. Afterwards I can't get into the Images section in the backend. This is what i get:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 76 bytes) in /home/xxxxxx/public_html/panamasportsmagazine.com/libraries/joomla/database/database/mysql.php on line 462
Any ideas on how to solve this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error: Allowed memory size...in the backend

Post by Jan »

Hi, try to search this forum for "pagination thumbnails creation", and see this parameter here:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Jan
If you find Phoca extensions useful, please support the project
hazman
Phoca Member
Phoca Member
Posts: 10
Joined: 16 Mar 2010, 21:46

Re: Fatal error: Allowed memory size...in the backend

Post by hazman »

Hi,

Ok, I tried using the Pagination feature and now I'm getting this:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 11392 bytes) in /home/xxxxxx/public_html/panamasportsmagazine.com/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
I'm getting the above with Pagination and without Pagination.

I contacted the host provider, they took a look increased the memory allowed and the problem was still. After a few email exchanges they concluded that this was a Phoca Gallery issue and not a server one.

I'm not an expert, but this seems to me to be a thumbnail creation problem because it is in the only place that this is happening.

Is there another option to the thumbnail creation?

Any ideas on how to resolve this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error: Allowed memory size...in the backend

Post by Jan »

Hi, if this is a thumbnail creation problem, then it is not related to Phoca but to GD on the server. The GD is creating thumbnails (GD is library which manages images with help of PHP)

So if you set all recommended settings (you can try disabling thumbnail creation too), then only e.g. 20 items are loaded from database and there should not be any problem with memory :idea:

https://www.phoca.cz/documents/50-phoca/ ... al-advices (5)

Jan
If you find Phoca extensions useful, please support the project
Post Reply