I've been seeing more and more of these type logs on installations using Zen Cart versions 1.5.2+ (i.e. using mysqli instead of mysql). It's not host-specific or, that I've seen, PHP/MySQL version-specific. The latest bunch are a mixture of:
Code:
[14-Apr-2016 18:01:32 America/New_York] Request URI: /mystore/index.php?main_page=product_info&cPath=311_79&products_id=2956, IP address: xx.yy.zz.ww
#1 mysqli_connect() called at [/home/mystore/public_html/store/includes/classes/db/mysql/query_factory.php:62]
#2 queryFactory->connect() called at [/home/mystore/public_html/store/includes/init_includes/init_database.php:23]
#3 require(/home/mystore/public_html/store/includes/init_includes/init_database.php) called at [/home/mystore/public_html/store/includes/autoload_func.php:48]
#4 require(/home/mystore/public_html/store/includes/autoload_func.php) called at [/home/mystore/public_html/store/includes/application_top.php:158]
#5 require(/home/mystore/public_html/store/includes/application_top.php) called at [/home/mystore/public_html/store/index.php:26]
[14-Apr-2016 18:01:32 America/New_York] PHP Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/mystore/public_html/mystore/includes/classes/db/mysql/query_factory.php on line 62
and
Code:
[06-Apr-2016 13:49:45 America/New_York] Request URI: /store/the_admin/orders.php?oID=6475&action=edit, IP address: xx.yy.zz.ww
#1 mysqli_connect() called at [/home/mystore/public_html/store/includes/classes/db/mysql/query_factory.php:62]
#2 queryFactory->connect() called at [/home/mystore/public_html/store/the_admin/includes/init_includes/init_database.php:19]
#3 require(/home/mystore/public_html/store/the_admin/includes/init_includes/init_database.php) called at [/home/mystore/public_html/store/includes/autoload_func.php:48]
#4 require(/home/mystore/public_html/store/includes/autoload_func.php) called at [/home/mystore/public_html/store/the_admin/includes/application_top.php:156]
#5 require(/home/mystore/public_html/store/the_admin/includes/application_top.php) called at [/home/mystore/public_html/store/the_admin/orders.php:10]
[06-Apr-2016 13:49:45 America/New_York] PHP Warning: mysqli_connect(): (08004/1040): Too many connections in /home/mystore/public_html/store/includes/classes/db/mysql/query_factory.php on line 62
Anybody got any ideas?
Bookmarks