Page 1 of 1

Add New Photo in Backend returns an error.

Posted: 04 Dec 2008, 18:42
by searchcitrus
Adding Photos with the "New" button one at a time returns an error when you click the "Image" button.

Fatal error: Out of memory (allocated 46399488) (tried to allocate 3296 bytes) in /home/cubbysar/public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 916

This was working and then at some point this came up. I can still add photos via the "Multiple Add" Button and from the front end. Could the fact that I just started using folders be the problem because of space in the main folder?

I am using Phoca Gallery Version 2.0.2 on Joomla! 1.5.7 I would Really Appreciate any help you could give me. Thank you

Re: Add New Photo in Backend returns an error.

Posted: 05 Dec 2008, 23:12
by Jan
Hi, maybe you don't have enough memory for creating thumbnails by your GD library, maybe try to resize your original images to some small images, maybe it will help...

Jan

Re: Add New Photo in Backend returns an error.

Posted: 05 Dec 2008, 23:36
by searchcitrus
Thank you for your help. It was working fine but after adding many pictures is when it did it. I removed some pictures, and it started working. I then replaced those same pictures into different folders and it continued to work.

Is there a limit to how many pictures that can be placed into any given folder? Or was it the fact that I did not use separate folders in the beginning and just used the main /phocagallery folder?

The problem is fixed but I am just curious about the limits of the folders for the future. Thank you again.

Re: Add New Photo in Backend returns an error.

Posted: 06 Dec 2008, 16:11
by Jan
Hi, there is no limit... only your server can limit you ... in case you will have a lot of files on your server without folder structure, you can get problems e.g. with listing the files in some list (e.g. in multiple add list of files) but I think this should not be a problem... :idea: