I have this in my logs but not sure what the cause is or how to address. Can anyone point me in the right direction please?
I think its an issue with mySQL rather than Zen Cart. A few weeks ago my sever was moved and now has php 7.1 which caused loads of problems.
I've upgraded to the latest zen cart and done some edits to my template (sheffield_responsive) to fix things like arrays as strings instead or variables, but this error seems common in my log files.
Code:
[05-Nov-2019 11:47:46 UTC] Request URI: /index.php?main_page=index&cPath=6_24, IP address: 86.163.192.111
#1 trigger_error() called at [/home/thegluep/public_html/includes/classes/db/mysql/query_factory.php:171]
#2 queryFactory->show_error() called at [/home/thegluep/public_html/includes/classes/db/mysql/query_factory.php:143]
#3 queryFactory->set_error() called at [/home/thegluep/public_html/includes/classes/db/mysql/query_factory.php:270]
#4 queryFactory->Execute() called at [/home/thegluep/public_html/includes/functions/sessions.php:77]
#5 _sess_write()
#6 session_write_close() called at [/home/thegluep/public_html/includes/application_bottom.php:16]
#7 require(/home/thegluep/public_html/includes/application_bottom.php) called at [/home/thegluep/public_html/index.php:105]
--> PHP Fatal error: 1206:The total number of locks exceeds the lock table size :: insert into zen_sessions (sesskey, expiry, `value`)
values ('691546460509a717b2ac8444dd359660', 1572955906, 'c2VjdXJpdHlUb2tlbnxzOjMyOiJiOTcwZTM4MDUxM2E2ZDA2YWJhNzczZjA2N2VjOGY5ZCI7Y3VzdG9tZXJzX2hvc3RfYWRkcmVzc3xzOjQ4OiJob3N0ODYtMTYzLTE5Mi0xMTEucmFuZ2U4Ni0xNjMuYnRjZW50cmFscGx1cy5jb20iO2NhcnRJRHxzOjA6IiI7Y2FydHxPOjEyOiJzaG9wcGluZ0NhcnQiOjEzOntzOjg6ImNvbnRlbnRzIjthOjA6e31zOjU6InRvdGFsIjtpOjA7czo2OiJ3ZWlnaHQiO2k6MDtzOjY6ImNhcnRJRCI7TjtzOjEyOiJjb250ZW50X3R5cGUiO2I6MDtzOjE4OiJmcmVlX3NoaXBwaW5nX2l0ZW0iO2k6MDtzOjIwOiJmcmVlX3NoaXBwaW5nX3dlaWdodCI7aTowO3M6MTk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6MzoiZ2V0IjthOjI6e3M6NToiY1BhdGgiO3M6MzoiNl85IjtzOjExOiJwcm9kdWN0c19pZCI7czoyOiIyMyI7fXM6NDoicG9zdCI7YTowOnt9fX1sYW5ndWFnZXxzOjc6ImVuZ2xpc2giO2xhbmd1YWdlc19pZHxzOjE6IjEiO2xhbmd1YWdlc19jb2RlfHM6MjoiZW4iO2xheW91dFR5cGV8czo2OiJsZWdhY3kiO2N1cnJlbmN5fHM6MzoiR0JQIjt0b2RheV9pc3xzOjEwOiIyMDE5LTExLTA1Ijt1cGRhdGVFeHBpcmF0aW9uc3xiOjE7c2Vzc2lvbl9jb3VudGVyfGI6MTtjdXN0b21lcnNfaXBfYWRkcmVzc3xzOjE0OiI4Ni4xNjMuMTkyLjExMSI7', expiry=1572955906 ==> (as called by) /home/thegluep/public_html/includes/functions/sessions.php on line 77 <== in /home/thegluep/public_html/includes/classes/db/mysql/query_factory.php on line 171.
[05-Nov-2019 11:47:46 UTC] Request URI: /index.php?main_page=index&cPath=6_24, IP address: 86.163.192.111
#1 session_write_close()
--> PHP Warning: session_write_close(): Cannot call session save handler in a recursive manner in Unknown on line 0.
[05-Nov-2019 11:47:46 UTC] Request URI: /index.php?main_page=index&cPath=6_24, IP address: 86.163.192.111
#1 session_write_close()
--> PHP Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /home/thegluep/public_html/cache) in Unknown on line 0.
Thanks
Bookmarks