Post by nookta » Sat Jun 10, 2017 5:53 pm

Hello,

I am getting an error message like this on my error log :

2017-06-09 11:07:29 - PHP Warning: Error while sending QUERY packet. PID=777644 in /home/elektroniksepet/public_html/system/library/db/mysqli.php on line 19
2017-06-09 11:07:29 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM `oc_language` WHERE status = '1' in /home/elektroniksepet/public_html/system/library/db/mysqli.php on line 41
2017-06-09 11:07:29 - PHP Notice: Trying to get property of non-object in /home/elektroniksepet/public_html/index.php on line 149
2017-06-09 11:07:29 - PHP Warning: Invalid argument supplied for foreach() in /home/elektroniksepet/public_html/index.php on line 149

I am using Opencart Version 2.1.0.1 Please let me know the solution asap.

Thanks

Newbie

Posts

Joined
Mon Mar 06, 2017 7:39 pm

Post by IP_CAM » Sun Jun 11, 2017 4:48 am

well, better ask your Hoster, why your MySQL server has gone away,
your Server is possibly not able or willing, to handle an OC-DB, as it should.
It's usually related to the Hosting-Fee, and a known 'habit' of very cheap servers !
Good Luck ;)
Ernie
PS: but better never again use the word asap here, nobody owe's you anything... :'(

My Github OC Site: https://github.com/IP-CAM
5'600 + 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 sculptex » Mon Jun 12, 2017 3:30 pm

This is quite a common occurrence, mysql servers will temporarily 'go away' during an update or perhaps an error situation while they restart.
It should not be down for more than a few minutes at a time and should not occur frequently, perhaps once every few months.

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK
Who is online

Users browsing this forum: No registered users and 13 guests