Error Report since auto update

Merchant
Fra United Kingdom
Member since nov. 2015

Hi,

Get regularly error reports since Litecart auto updated to 2.4.3. I'm not a techie, so perhaps you can advise what to do to fix the issues. Is the problem with the database?

[quote]LiteCart 2.4.3

[05-Dec-2022 05:59:40 UTC] [16 times] Warning: mysqli_real_connect(): (HY000/2002): Connection refused in ~/includes/library/lib_database.inc.php (Line 26)
~/includes/library/lib_database.inc.php (Line 161) in connect()
~/includes/library/lib_settings.inc.php (Line 10) in query()
~/includes/autoloader.inc.php (Line 107) in init()
~/index.php (Line 18) in spl_autoloadcall()
Request: GET /shop/ajax/cart.json?
=1669942424434 HTTP/1.1
Host: simon-taylor.com
Client: 216.228.112.22 (thunderhill.nvidia.com)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Referer: https://simon-taylor.com/shop/fine-art-prints-c-1/cycling-art-prints-c-4/le-tour-2022-p-151

[05-Dec-2022 05:59:40 UTC] [16 times] Fatal error: Could not connect to database: 2002 - Connection refused in ~/includes/library/lib_database.inc.php (Line 27)
~/includes/library/lib_database.inc.php (Line 161) in connect()
~/includes/library/lib_settings.inc.php (Line 10) in query()
~/includes/autoloader.inc.php (Line 107) in init()
~/index.php (Line 18) in spl_autoloadcall()
Request: GET /shop/ajax/cart.json?
=1669942424434 HTTP/1.1
Host: simon-taylor.com
Client: 216.228.112.22 (thunderhill.nvidia.com)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Referer: https://simon-taylor.com/shop/fine-art-prints-c-1/cycling-art-prints-c-4/le-tour-2022-p-151

[05-Dec-2022 05:59:40 UTC] Warning: mysqli_real_connect(): MySQL server has gone away in ~/includes/library/lib_database.inc.php (Line 26)
~/includes/library/lib_database.inc.php (Line 161) in connect()
~/includes/library/lib_settings.inc.php (Line 10) in query()
~/includes/autoloader.inc.php (Line 107) in init()
~/index.php (Line 18) in spl_autoloadcall()
Request: GET /shop/ajax/cart.json?
=1669942423811 HTTP/1.1
Host: simon-taylor.com
Client: 216.228.112.22 (thunderhill.nvidia.com)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Referer: https://simon-taylor.com/shop/fine-art-prints-c-1/cycling-art-prints-c-4/on-top-in-yellow-p-152

[05-Dec-2022 05:59:40 UTC] Warning: mysqli_real_connect(): Error while reading greeting packet. PID=126503 in ~/includes/library/lib_database.inc.php (Line 26)
~/includes/library/lib_database.inc.php (Line 161) in connect()
~/includes/library/lib_settings.inc.php (Line 10) in query()
~/includes/autoloader.inc.php (Line 107) in init()
~/index.php (Line 18) in spl_autoloadcall()
Request: GET /shop/ajax/cart.json?
=1669942423811 HTTP/1.1
Host: simon-taylor.com
Client: 216.228.112.22 (thunderhill.nvidia.com)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Referer: https://simon-taylor.com/shop/fine-art-prints-c-1/cycling-art-prints-c-4/on-top-in-yellow-p-152

[05-Dec-2022 05:59:40 UTC] Warning: mysqli_real_connect(): (HY000/2006): MySQL server has gone away in ~/includes/library/lib_database.inc.php (Line 26)
~/includes/library/lib_database.inc.php (Line 161) in connect()
~/includes/library/lib_settings.inc.php (Line 10) in query()
~/includes/autoloader.inc.php (Line 107) in init()
~/index.php (Line 18) in spl_autoloadcall()
Request: GET /shop/ajax/cart.json?
=1669942423811 HTTP/1.1
Host: simon-taylor.com
Client: 216.228.112.22 (thunderhill.nvidia.com)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Referer: https://simon-taylor.com/shop/fine-art-prints-c-1/cycling-art-prints-c-4/on-top-in-yellow-p-152

[05-Dec-2022 05:59:40 UTC] Fatal error: Could not connect to database: 2006 - MySQL server has gone away in ~/includes/library/lib_database.inc.php (Line 27)
~/includes/library/lib_database.inc.php (Line 161) in connect()
~/includes/library/lib_settings.inc.php (Line 10) in query()
~/includes/autoloader.inc.php (Line 107) in init()
~/index.php (Line 18) in spl_autoloadcall()
Request: GET /shop/ajax/cart.json?
=1669942423811 HTTP/1.1
Host: simon-taylor.com
Client: 216.228.112.22 (thunderhill.nvidia.com)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Referer: https://simon-taylor.com/shop/fine-art-prints-c-1/cycling-art-prints-c-4/on-top-in-yellow-p-152[/quote]

LiteCart Fan
Fra Sweden
Member since sep. 2013

From here it looks like software is not able to connect to DB..
It has happened everybody, maybe you use wrong login/install credentials..
Check the info you got from your webhost and try again..

Merchant
Fra United Kingdom
Member since nov. 2015

It was installed January 2021 and appears to all be working ok from here, www.simon-taylor.com/shop/.
I get these error reports every week, and this time it looks like someone's had a problem with ordering.

tim
Founder
Fra Sweden
Member since maj 2013
tim

Your server had temporary cough at 05:59:40 and refused all incoming mysql connections.
This could be due to server maintenance. If it happens every day contact your web host.

This thread has been closed due to long inactivity. Posting to it is not possible.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.