Exception: Query error HY000: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query. Query: SELECT
*
FROM `shop_item_discounts`
WHERE `shop_item_discounts`.`shop_item_id` = '2920' AND `shop_item_discounts`.`siteuser_id` = 0
modules/core/database/pdo.php:679 Core_Exception->__construct
modules/core/querybuilder/statement.php:87 Core_DataBase_Pdo->query
modules/core/orm.php:551 Core_QueryBuilder_Statement->execute
modules/core/entity.php:620 Core_ORM->findAll
modules/shop/item/controller.php:323 Core_Entity->findAll
modules/shop/item/controller.php:105 Shop_Item_Controller->_calculatePrice
modules/shop/item/controller.php:703 Shop_Item_Controller->calculatePrice
modules/shop/item/model.php:458 Shop_Item_Controller->getPrices
modules/shop/item/model.php:2596 Shop_Item_Model->getPrices
modules/shop/item/model.php:2412 Shop_Item_Model->_prepareData
modules/core/xml/entity.php:176 Shop_Item_Model->getXml
modules/core/entity.php:814 Core_Xml_Entity->getXml
modules/shop/model.php:1153 Core_Entity->getXml
modules/core/controller.php:217 Shop_Model->getXml
modules/core/controller.php:356 Core_Controller->getXml
modules/shop/controller/show.php:2109 Core_Controller->get
modules/asmp/shop/controller/show.php:859 Shop_Controller_Show->show
hostcmsfiles/lib/lib_45/lib_45.php:375 ASMP_Shop_Controller_Show->show
modules/lib/model.php:277 include
modules/core/page.php:176 Lib_Model->execute
templates/template11/template.htm:171 Core_Page->execute
modules/template/model.php:108 include
modules/core/page.php:176 Template_Model->execute
templates/template1/template.htm:337 Core_Page->execute
modules/template/model.php:108 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 exception 'Core_Exception' with message 'Query error HY000: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. Query: UPDATE `sessions` SET `value` = 'aG9zdGNtc1ZpZXdlZHxhOjE6e2k6MTthOjE6e2k6MDtzOjQ6IjMxNTkiO319', `time` = 1743727189 WHERE `id` = '8g2ut8k44v0h7pvindomm3h335'
<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:523 Core_Session::close' in /var/www/vkcnp1119/data/www/modulsib.ru/modules/core/database/pdo.php:673
Stack trace:
#0 /var/www/vkcnp1119/data/www/modulsib.ru/modules/core/querybuilder/statement.php(87): Core_DataBase_Pdo->query('UPDATE `session...')
#1 /var/www/vkcnp1119/data/www/modulsib.ru/modules/core/session/database.php(155): Core_QueryBuilder_Statement->execute()
#2 [internal function]: Core_Session_Database- in
/var/www/vkcnp1119/data/www/modulsib.ru/modules/core/database/pdo.php on line
673