Page 1 of 1

mysqli.php file error

Posted: Fri Oct 23, 2020 10:27 am
by goldelegendz
Using version 2.3.0.2 - not added or altered any extensions or modifications in a long while.

I keep getting this in my errorlog gimp

Code: Select all

  thrown in /home/xxx/public_html/system/library/db/mysqli.php on line 40
[22-May-2019 16:03:29 UTC] PHP Warning:  Error while sending QUERY packet. PID=3569 in /home/xxx/public_html/system/library/db/mysqli.php on line 18
[22-May-2019 16:03:29 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_setting WHERE `code` = 'timezone'' in /home/xxx/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/xxx/public_html/system/storage/modification/system/library/db.php(17): DB\MySQLi->query('SELECT * FROM o...')
#1 /home/xxx/public_html/vqmod/vqcache/vq2-system_framework.php(161): DB->query('SELECT * FROM `...')
#2 /home/xxx/public_html/vqmod/vqcache/vq2-system_startup.php(124): require_once('/home/melodyjan...')
#3 /home/xxx/public_html/index.php(21): start('catalog') 
Any guidance on what could be wrong?

Re: mysqli.php file error

Posted: Fri Oct 23, 2020 12:53 pm
by Burt65
goldelegendz wrote:
Fri Oct 23, 2020 10:27 am
Using version 2.3.0.2 - not added or altered any extensions or modifications in a long while.

I keep getting this in my errorlog

Code: Select all

  thrown in /home/xxx/public_html/system/library/db/mysqli.php on line 40
[22-May-2019 16:03:29 UTC] PHP Warning:  Error while sending QUERY packet. PID=3569 in /home/xxx/public_html/system/library/db/mysqli.php on line 18
[22-May-2019 16:03:29 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_setting WHERE `code` = 'timezone'' in /home/xxx/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/xxx/public_html/system/storage/modification/system/library/db.php(17): DB\MySQLi->query('SELECT * FROM o...')
#1 /home/xxx/public_html/vqmod/vqcache/vq2-system_framework.php(161): DB->query('SELECT * FROM `...')
#2 /home/xxx/public_html/vqmod/vqcache/vq2-system_startup.php(124): require_once('/home/melodyjan...')
#3 /home/xxx/public_html/index.php(21): start('catalog') 
Any guidance on what could be wrong?
For "MySQL server has gone away - error no: 2006" problems have a look at those link below ...

https://matomo.org/faq/troubleshooting/faq_183/

https://www.fixrunner.com/mysql-server- ... way-error/

Re: mysqli.php file error

Posted: Fri Oct 23, 2020 5:38 pm
by paulfeakins
goldelegendz wrote:
Fri Oct 23, 2020 10:27 am
Any guidance on what could be wrong?
Your server is now powerful enough, consider a new web host.

Re: mysqli.php file error

Posted: Fri Oct 23, 2020 5:53 pm
by thekrotek
"MySQL server has gone away" can be cause by many things, there's no generic answer on your question. You need to debug this issue or ask someone to do it for you.

Re: mysqli.php file error

Posted: Mon Oct 26, 2020 7:30 pm
by paulfeakins
thekrotek wrote:
Fri Oct 23, 2020 5:53 pm
"MySQL server has gone away" can be cause by many things, there's no generic answer on your question. You need to debug this issue or ask someone to do it for you.
Usually it's the server isn't powerful enough though.