Post by stclare » Thu Jun 18, 2015 9:41 pm

I'm receiving the following error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 29623500 bytes) in /home/www/stclareaudio.com/system/library/image.php on line 32

I'm receiving this error on page two of the Catalog/products on the admin side. It has been working fine for months and today I got this error. I have 94 products entered so there are four pages, pages 1,3,4 I can access, its just page 2. All my images are png.

I have raised the memory limit to 512M in the php.ini file but that did not work.

I did add some Hi res images to the banner yesterday, maybe that had something to do with it.

Thanks for any help.


[Solved]
You have to change the memory limit in the php.ini file in the admin folder also.

St. Clare Audio Still in it's newborn stage, a major work in progress..

St. Clare Heirloom Seeds Our original business, our current "bread and butter". Learned HTML, CSS, and a little PHP to develop it from scratch ourselves, having never done coding before. Then we discovered the awesomeness of Shopping Carts. :-)


New member

Posts

Joined
Mon Aug 18, 2014 9:12 pm

Post by IP_CAM » Thu Jun 18, 2015 10:39 pm

Read about this here:
http://forum.opencart.com/viewtopic.php?f=22&t=102258
http://forum.opencart.com/viewtopic.php?f=20&t=136947

it will not help to just enlarge the memory_limit in the php.ini file, like:

Code: Select all

magic_quotes_gpc = Off;
register_globals = Off;
default_charset	= UTF-8;
memory_limit = 64M;
max_execution_time = 36000;
upload_max_filesize = 999M;
it has to be done on the Server, by use of your Server Admin Account.
Good Luck
Ernie
ipc.li/cart/

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by mteverest » Thu Jun 18, 2015 11:18 pm

This error is normally caused when large image is uploaded. You can fix the issue by deleting the large image which you recently uploaded into site. Try to delete it form cpanel or ftp access. It will be better to keep the image size under 300kb as far as possible.

User avatar
Newbie

Posts

Joined
Sat May 17, 2008 8:46 am
Location - Dhulikhel, Nepal

Post by stclare » Fri Jun 19, 2015 12:45 am

I figured out what happened.

Somehow the image that got uploaded was a High-res 300dpi image that was 3.5mg. This image is one we use for commercial printing. Not really under 300kb.

Thanks for all who replied to this post.

St. Clare Audio Still in it's newborn stage, a major work in progress..

St. Clare Heirloom Seeds Our original business, our current "bread and butter". Learned HTML, CSS, and a little PHP to develop it from scratch ourselves, having never done coding before. Then we discovered the awesomeness of Shopping Carts. :-)


New member

Posts

Joined
Mon Aug 18, 2014 9:12 pm

Post by IP_CAM » Fri Jun 19, 2015 3:35 am

just read this for the finest free image tools, I found and use regularely:
http://forum.opencart.com/viewtopic.php ... 77#p513366
Good Luck
Ernie
ipc.li/cart/

PS. Still, it's a shame, to use 50+MB of Server Memory, to uplod a 2MB Image with OC! ??? ??? :laugh:

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 163 guests