Hi,
Every once a while when I upload images, I would sometimes see the following error message. I have set the image file size limit to be 5MB and the files I uploaded were around 3MB, what is the problem and how do I fix it?
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17088 bytes) in /home/.../public_html/joomla/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220
Thanks,
Daryl
FATAL ERROR: Allowed memory size of 67108864 bytes exhausted
-
- Phoca Newbie
- Posts: 4
- Joined: 17 Nov 2009, 16:22
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted
Hi, the proble is that your server (GD library) does not have time (memory) to work witch such large files. You need to resize the image before uploading to gallery or increase memory of your server.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 18 Dec 2009, 11:49
Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted
I am having the same problem (at 50M) but it is happening before the image even begins uploading. Clicking the button to browse for an image is where it gets to.
-
- Phoca Newbie
- Posts: 2
- Joined: 18 Dec 2009, 11:49
Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted
Turns out that it is nothing to do with memory at all, just folder permissions!
-
- Phoca Newbie
- Posts: 5
- Joined: 17 Oct 2009, 22:03
Re: FATAL ERROR: Allowed memory size of 67108864 bytes exhausted
I'm suddenly getting the problem just by going to the Phoca Gallery Control Panel and clicking on the Images icon! I don't have a chance to try uploads, and I'm not trying to display images at all -- I can't even get that far!
UPDATE: After studying all the forum entries, I decided to call my host and ask about the settings on my server. They increased the memory per script setting in my php.ini file and the problem went away immediately!!
UPDATE: After studying all the forum entries, I decided to call my host and ask about the settings on my server. They increased the memory per script setting in my php.ini file and the problem went away immediately!!