С 01.06.2024г. изменение режима работы магазинов. Подробнее...
Прием заказов:
Продажа материалов, оборудования
и инструмента для электромонтажа
background Магазины
[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_internals_discount_group`.`DISCOUNT_ID` AS `DISCOUNT_ID`
FROM `b_sale_discount_group` `sale_internals_discount_group` 

WHERE `sale_internals_discount_group`.`GROUP_ID` IN (2)
AND `sale_internals_discount_group`.`ACTIVE` = 'Y'
ORDER BY `DISCOUNT_ID` ASC
/media/electromontazh.ru/docs/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/media/electromontazh.ru/docs/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/media/electromontazh.ru/docs/bitrix/modules/main/lib/orm/query/query.php:3208
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/media/electromontazh.ru/docs/bitrix/modules/main/lib/orm/query/query.php:807
#3: Bitrix\Main\ORM\Query\Query->exec()
	/media/electromontazh.ru/docs/bitrix/modules/main/lib/orm/data/datamanager.php:484
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/media/electromontazh.ru/docs/bitrix/modules/sale/lib/discount/runtimecache/discountcache.php:53
#5: Bitrix\Sale\Discount\RuntimeCache\DiscountCache->getDiscountIds(array)
	/media/electromontazh.ru/docs/bitrix/modules/sale/lib/discountbase.php:5381
#6: Bitrix\Sale\DiscountBase->loadDiscountByUserGroups()
	/media/electromontazh.ru/docs/bitrix/modules/sale/lib/discountbase.php:1322
#7: Bitrix\Sale\DiscountBase->calculateFull()
	/media/electromontazh.ru/docs/bitrix/modules/sale/lib/discountbase.php:490
#8: Bitrix\Sale\DiscountBase->calculate()
	/media/electromontazh.ru/docs/bitrix/modules/catalog/general/discount.php:1129
#9: CAllCatalogDiscount::getSaleDiscountsByProduct(array, string, array, array, boolean, array)
	/media/electromontazh.ru/docs/bitrix/modules/catalog/general/discount.php:1265
#10: CAllCatalogDiscount::GetDiscount(integer, integer, array, array, string, string, array)
	/media/electromontazh.ru/docs/bitrix/modules/iblock/classes/general/comp_pricetools.php:318
#11: CIBlockPriceTools::GetItemPrices(integer, array, array, boolean, array)
	/media/electromontazh.ru/docs/local/components/individ/catalog.element/component.php:687
#12: include(string)
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component.php:594
#13: CBitrixComponent->__includeComponent()
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component.php:653
#14: CBitrixComponent->includeComponent(string, array, object)
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/main.php:1038
#15: CAllMain->IncludeComponent(string, string, array, object)
	/media/electromontazh.ru/docs/local/templates/main.v4/components/individ/catalog/.default/element.php:86
#16: include(string)
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component_template.php:725
#17: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component_template.php:820
#18: CBitrixComponentTemplate->IncludeTemplate(array)
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component.php:735
#19: CBitrixComponent->showComponentTemplate()
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component.php:683
#20: CBitrixComponent->includeComponentTemplate(string)
	/media/electromontazh.ru/docs/local/components/individ/catalog/component.php:168
#21: include(string)
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component.php:594
#22: CBitrixComponent->__includeComponent()
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/component.php:653
#23: CBitrixComponent->includeComponent(string, array, boolean)
	/media/electromontazh.ru/docs/bitrix/modules/main/classes/general/main.php:1038
#24: CAllMain->IncludeComponent(string, string, array, boolean)
	/media/electromontazh.ru/docs/catalog/index.php:129
#25: include_once(string)
	/media/electromontazh.ru/docs/bitrix/modules/main/include/urlrewrite.php:159
#26: include_once(string)
	/media/electromontazh.ru/docs/bitrix/urlrewrite.php:2