Сортировать по:
Показать по:
Вид каталога:
[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)

	select CAT_PR.ID as PRODUCT_ID, CAT_VAT.*, CAT_PR.VAT_INCLUDED
	from b_catalog_product CAT_PR
	left join b_iblock_element BE on (BE.ID = CAT_PR.ID)
	left join b_catalog_iblock CAT_IB on ((CAT_PR.VAT_ID is null or CAT_PR.VAT_ID = 0) and CAT_IB.IBLOCK_ID = BE.IBLOCK_ID)
	left join b_catalog_vat CAT_VAT on (CAT_VAT.ID = IF((CAT_PR.VAT_ID is null or CAT_PR.VAT_ID = 0), CAT_IB.VAT_ID, CAT_PR.VAT_ID))
	where CAT_PR.ID in (71055)
	and CAT_VAT.ACTIVE='Y'
	
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/catalog/mysql/product.php:247
#2: CCatalogProduct::loadVatInfoFromDB(array)
	/home/bitrix/www/bitrix/modules/catalog/mysql/product.php:212
#3: CCatalogProduct::GetVATDataByID(integer)
	/home/bitrix/www/bitrix/modules/catalog/general/product.php:1064
#4: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array)
	/home/bitrix/www/bitrix/modules/dw.deluxe/classes/general/prices.php:152
#5: DwPrices::getPricesByProductId(string, array, array, array, string, string)
	/home/bitrix/www/bitrix/components/dresscode/catalog.item/component.php:461
#6: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#7: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#8: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1063
#9: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/home/bitrix/www/bitrix/components/dresscode/catalog.section/templates/squares/template.php:33
#10: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#11: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#12: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:764
#13: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:712
#14: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/www/bitrix/components/dresscode/catalog.section/component.php:569
#15: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#16: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#17: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1063
#18: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/bitrix/templates/dresscode/components/dresscode/catalog/.default/section.php:471
#19: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#20: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#21: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:764
#22: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:712
#23: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/dresscode/catalog/component.php:182
#24: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#25: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#26: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1063
#27: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/index.php:694
#28: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#29: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(3538): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(949): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /home/bitrix/www/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/bitrix/www/bitrix/modules/main/lib/analytics/counter.php(92): Bitrix\Main\Analytics\SiteSpeed::isIntranetSite('s1') #6 /home/bitrix/www/bitrix/modules/main/classes/general/module.php(480): Bit in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line 137