Post by SirHelsinki » Wed Aug 24, 2022 5:46 pm

Hi,

I try to make a Backup but i Get this error code? What should I do??
Thanks!!

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16384 bytes) in /home/r269737/public_html/system/library/db/mysqli.php on line 18

Fatal error: Uncaught Exception: Error: Commands out of sync; you can't run this command now<br />Error No: 2014<br />REPLACE INTO `oc_session` SET session_id = '6bb58e24c07a8c83b541efb4b4', `data` = '{\"language\":\"fi-fi\",\"currency\":\"EUR\",\"user_id\":\"1\",\"user_token\":\"HylzrdIyO7OUr1Hm5Np4IGgLUcVbGuuy\"}', expire = '2022-08-24 10:45:02' in /home/r269737/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/r269737/public_html/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `o...') #1 /home/r269737/public_html/system/library/session/db.php(32): DB->query('REPLACE INTO `o...') #2 /home/r269737/public_html/system/library/session.php(81): Session\DB->write('6bb58e24c07a8c8...', Array) #3 [internal function]: Session->close() #4 {main} thrown in /home/r269737/public_html/system/library/db/mysqli.php on line 40

New member

Posts

Joined
Sun Apr 26, 2020 1:16 pm

Post by ADD Creative » Wed Aug 24, 2022 6:40 pm

You could try increasing the PHP memory_limit setting. A better option is to do a backup through your hosting control panel or using phpMyAdmin.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by SirHelsinki » Wed Aug 24, 2022 6:49 pm

I change it to 256, 512M but no help..

New member

Posts

Joined
Sun Apr 26, 2020 1:16 pm

Post by k2tec » Wed Aug 24, 2022 8:28 pm

It is better to use your hosting backup than the one from Opencart

User avatar
Active Member

Posts

Joined
Mon Apr 12, 2010 8:06 pm

Post by johnp » Wed Aug 24, 2022 8:39 pm

k2tec wrote:
Wed Aug 24, 2022 8:28 pm
It is better to use your hosting backup than the one from Opencart
I totally agree. I use the backup function in Cpanel. Much better IMO.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Thu Aug 25, 2022 7:27 pm

I would also logout of the OC admin and truncate the session table to optimize the platform due to this overloaded query.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: No registered users and 112 guests