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
Add New Photo in Backend returns an error.
-
searchcitrus
- Phoca Newbie

- Posts: 2
- Joined: 04 Dec 2008, 18:32
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add New Photo in Backend returns an error.
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
Jan
If you find Phoca extensions useful, please support the project
-
searchcitrus
- Phoca Newbie

- Posts: 2
- Joined: 04 Dec 2008, 18:32
Re: Add New Photo in Backend returns an error.
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.
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.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add New Photo in Backend returns an error.
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... 
If you find Phoca extensions useful, please support the project