Post by chris399@orange.fr » Thu Jan 28, 2021 7:54 pm

Hello I have a problem, I would like to save my site, but impossible I have this error which appears:
do you have a solution, I am interested, thank you :'(
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 40 bytes) in /home/xxxxxxxxxxx/www/system/library/db/mysqli.php on line 21

New member

Posts

Joined
Fri May 13, 2016 9:15 pm

Post by xxvirusxx » Thu Jan 28, 2021 8:01 pm

Increase memory_limit from php.ini, then try again.

My converted modules | Buy me a beer | Opencart upgrade service


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by chris399@orange.fr » Thu Jan 28, 2021 9:35 pm

it does not change, I still have the same error

New member

Posts

Joined
Fri May 13, 2016 9:15 pm

Post by straightlight » Thu Jan 28, 2021 9:57 pm

chris399@orange.fr wrote:
Thu Jan 28, 2021 9:35 pm
it does not change, I still have the same error
See in .user.ini file instead of php.ini file if the changes will reflect.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mikeinterserv » Thu Jan 28, 2021 9:59 pm

Post your php.ini from root folder so we can see it

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by JNeuhoff » Fri Jan 29, 2021 12:26 am

This is way too much memory requirement for an OpenCart web server.
What exactly do mean by "saving a website"?
If it is just a DB backup, and your DB happens to be very large, it's better to use PHPMyAdmin for this.

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by jrr » Tue Mar 09, 2021 4:48 am

JNeuhoff wrote:
Fri Jan 29, 2021 12:26 am
This is way too much memory requirement for an OpenCart web server.
What exactly do mean by "saving a website"?
If it is just a DB backup, and your DB happens to be very large, it's better to use PHPMyAdmin for this.
Not saying it is not too much memory as I don't know the answer, but I can say that I had a similar problem as the OP and had forgotten that I'm running PHP as a CGI (set up years ago). I then had to go to my cgi-bin directory and adjust php.ini there as it overrides any other susequent php.ini files, and even my .htaccess attempt to increase the php memory (.htaccess - php_value memory_limit xxxM)

I increased my php memory to 256mb and now I can use the OC backup process - saving the step of opening the database and archiving it that way.

jrr
Active Member

Posts

Joined
Mon Nov 20, 2017 1:48 pm
Who is online

Users browsing this forum: No registered users and 5 guests