Post by 4matt » Tue Sep 26, 2017 8:19 am

Hi,
I'm getting: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 36681889 bytes) in /home/mysite/public_html/system/storage/modification/admin/controller/extension/modification.php on line 809. It hasn't caused any malfunctioning as far as i can tell though.

I went to line 809 and this is what I found
808 if (file_exists($file)) {
809 $data['log'] = htmlentities(file_get_contents($file, FILE_USE_INCLUDE_PATH, null));
810} else {
811 $data['log'] = '';
812 }

any suggestions as to how to correct this?

Thank you!
4matt


Newbie

Posts

Joined
Thu Apr 05, 2012 8:36 am

Post by IP_CAM » Tue Sep 26, 2017 11:45 am

You should first increase the memory limit in your OC php.ini files to i.E.:
memory_limit = 640M; (my OC Memory settings)
and set the PHP Server Memory also in the Site Admin Section,
by use of the myPHP-Admin Tool, and as shown on the image below.
And second find out, what's using so much space in the Modification Section... :laugh:
Good Luck! ;)
Ernie
---
Image

Attachments

set_php_server_memory_limit.jpg

Set Server PHP Memory Size - set_php_server_memory_limit.jpg (88.19 KiB) Viewed 248 times


Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

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

Post by 4matt » Tue Sep 26, 2017 2:59 pm

Thank you for the comprehensive reply.
I found the php.ini file
I cannot find the myPHP-Admin Tool - I went to phpMyadmin - settings but could not find web settings as in the image step 1.

"And second find out, what's using so much space in the Modification Section" Is there an easy way other than going through each mod?


---

Thank you!
4matt


Newbie

Posts

Joined
Thu Apr 05, 2012 8:36 am

Post by IP_CAM » Tue Sep 26, 2017 7:01 pm

Well, if you have no such Server settings, available to be changed by you,
you have to get in contact with the hoster, to find out, how much server memory
you are allowed to use.
And you could check your Shop / System / Modification Section, to find out,
what it contains on files. And if you cannot find out, you'll need Dev-Support on this.
Good Luck !
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

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

Users browsing this forum: No registered users and 1 guest