Fatal errorallowed memory size of 16777216 bites exhausted

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

How can you say, tha

Post by Jan »

How can you say, that the error is in the file phocagallery.php and not on your server if you don't understand php... ???

On line 386, there is a GD library function:

$image2 = ImageCreateTruecolor($dst[2], $dst[3]);

so it seems, you have problems on your server with memory limit, because your GD library have memory problems with images working...

Jan
If you find Phoca extensions useful, please support the project
soofarelo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Mar 2008, 09:12
Contact:

the problem is not i

Post by soofarelo »

the problem is not in my server

i just increase the values "memory limit" in the phocagallery.php and the problem is solve

This proves that the problem is in the language of the script of phocagallery and not im my server
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

So the problem was o

Post by Jan »

So the problem was on your server. Your memory limit was too small on your server and you have fixed it with the php script (you are very lucky man if you have rights to set memory limit via php script on your server)... Phoca Gallery php script file helped you to fix (increase) your memory limit setting on your server

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