Gallery fatal error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
whiteduck
Forum Members
Forum Members
Posts: 13
Joined: Sun Apr 03, 2011 1:16 pm

Gallery fatal error

Post by whiteduck »

I installed and had the Gallery module working. I had developed the FEU component so that users could upload their own images. I tested to see what would happen if a user tried to upload a large file. The file got to the database but unfortunately I now have a fatal error message >> Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8448 bytes) in .........../Gallery.module.php on line 909. I have tried removing the gallery module and reinstalling the module but the fatal error still comes up.I have looked at the database after removing the module and all appears to be removed. I had already removed all the images from the database.
Does anyone have any suggestions?
Thanks WD
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery fatal error

Post by Jos »

whiteduck wrote:I tested to see what would happen if a user tried to upload a large file.
Guess your server ran out of recources when Gallery tries to resize the image to get a nice thumbnail out of it...
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Gallery fatal error

Post by RonnyK »

Seems like you ran out of the 32M that you have available. I dont think the issue is within Gallery, but caused by the active/installed modules that you have running..

You could increase the php_memory_limit to 48M f.e. to make it disappear.

Ronny
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: Gallery fatal error

Post by janaf »

So the big file is in the DB now?

Do you have a backup of the DB? Access to the db server?
Then simply delete that record from the DB?
Or you could drop the image tables and restore a copy?

And limit the maximum file upload size to something that is smaller than your available memory..
Post Reply

Return to “Modules/Add-Ons”