Детейлинг центр
Exception: Query error HY000: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. Query: SELECT
COUNT(*) AS `count`
FROM `shop_purchase_discounts`
WHERE `shop_purchase_discounts`.`shop_id` = '3' AND `active` = 1 AND `position` > 0 AND `start_datetime` <= '2024-11-21 14:36:01' AND `end_datetime` >= '2024-11-21 14:36:01' AND `shop_purchase_discounts`.`deleted` = 0
modules/core/database/pdo.php:679 Core_Exception->__construct
modules/core/querybuilder/statement.php:87 Core_DataBase_Pdo->query
modules/core/orm.php:648 Core_QueryBuilder_Statement->execute
modules/core/entity.php:633 Core_ORM->getCount
modules/shop/purchase/discount/model.php:169 Core_Entity->getCount
modules/shop/cart/controller/default.php:73 Shop_Purchase_Discount_Model->checkAvailableWithPosition
hostcmsfiles/lib/lib_73/lib_73.php:269 Shop_Cart_Controller_Default->getAll
modules/lib/model.php:277 include
modules/core/page.php:176 Lib_Model->execute
templates/template27/template.htm:5 Core_Page->execute
modules/template/model.php:107 include
modules/core/page.php:176 Template_Model->execute
templates/template13/template.htm:272 Core_Page->execute
modules/template/model.php:107 include
modules/core/page.php:176 Template_Model->execute
modules/core/command/controller/default.php:621 Core_Page->execute
modules/core/router/route.php:195 Core_Command_Controller_Default->showAction
index.php:383 Core_Router_Route->execute
Fatal error: Uncaught Core_Exception: Query error HY000: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. Query: UPDATE `sessions` SET `value` = '', `time` = 1732188961 WHERE `id` = '7891ac3cec293bce628fa6b62ec3e3a2' <br />modules/core/database/pdo.php:679 Core_Exception->__construct <br />modules/core/querybuilder/statement.php:87 Core_DataBase_Pdo->query <br />modules/core/session/database.php:155 Core_QueryBuilder_Statement->execute <br />modules/core/session.php:478 session_write_close <br />modules/core/core.php:524 Core_Session::close in /var/www/a57896/data/www/tuningspeed.ru/modules/core/database/pdo.php:673 Stack trace: #0 /var/www/a57896/data/www/tuningspeed.ru/modules/core/querybuilder/statement.php(87): Core_DataBase_Pdo->query('UPDATE `session...') #1 /var/www/a57896/data/www/tuningspeed.ru/modules/core/session/database.php(155): Core_QueryBuilder_Statement->execute() #2 [internal function]: Core_Session_Database->sessionWrite('7891ac3cec293bc...', '') #3 /var/www/a57896/data/www/tuningspeed. in /var/www/a57896/data/www/tuningspeed.ru/modules/core/database/pdo.php on line 673