Ведутся регламентные работы. Уточняйте наличие товара и цену у менеджеров по телефону +7 (8352) 32-75-90
Каталог
АкцииХочу купить

Каталог

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

					SELECT
						F.FACET_ID
						,F.VALUE
						,MIN(F.VALUE_NUM) MIN_VALUE_NUM
						,MAX(F.VALUE_NUM) MAX_VALUE_NUM
						,MAX(case when LOCATE('.', F.VALUE_NUM) > 0 then LENGTH(SUBSTRING_INDEX(F.VALUE_NUM, '.', -1)) else 0 end) VALUE_FRAC_LEN
						,COUNT(DISTINCT F.ELEMENT_ID) ELEMENT_COUNT
					FROM
						
			b_iblock B
			INNER JOIN b_lang L ON B.LID=L.LID
			INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID
			 left join b_catalog_product CAT_PR on (CAT_PR.ID = BE.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)) 

		
							INNER JOIN b_iblock_36_index F ON BE.ID = F.ELEMENT_ID
					WHERE
						F.SECTION_ID = 0
						and F.FACET_ID in (65646,64944,69560,65110,65116,67618,69484,69350,65402,65030,65512,65040,65194,65106,65114,64962,69568,69570,65748,67584,69308,65514,66982,68146,67582,67588,66734,67592,65718,66144,66172,67604,65674,68084,65320,65566,65318,65316,65560,65314,65562,65164,65264,65312,65486,65554,65556,66252,65066,65208,65310,65336,65426,65470,65484,65550,67902,68016,65162,65178,65200,65248,65308,65392,65412,65434,65480,65548,65754,66506,67526,67528,67580,67636,64958,65072,65174,65278,65326,65386,65408,65410,65418,65432,65458,66082,66086,67642,65026,65160,65198,65276,65324,65344,65352,65354,65370,65428,65454,67634,65976,66860,9)
						
			AND (
			
				(((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL)))
				AND ((((CAT_PR.AVAILABLE='Y'))))
				AND ((((BE.IBLOCK_ID = '36'))))
			)
			AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)))
			AND ((
				B.ID IN (
			SELECT IBLOCK_ID
			FROM b_iblock_group IBG
			WHERE IBG.GROUP_ID IN (2)
			AND IBG.PERMISSION >= 'R'
		
				AND (IBG.PERMISSION='X' OR B.ACTIVE='Y')
			)
				OR (B.RIGHTS_MODE = 'E' AND EXISTS (
				SELECT ER.ELEMENT_ID
				FROM b_iblock_element_right ER
				INNER JOIN b_iblock_right IBR ON IBR.ID = ER.RIGHT_ID
				INNER JOIN b_user_access UA ON UA.ACCESS_CODE = IBR.GROUP_CODE AND UA.USER_ID = 0
				WHERE ER.ELEMENT_ID = BE.ID
				AND IBR.OP_EREAD = 'Y'
				
			))
			))
					GROUP BY
						F.FACET_ID, F.VALUE
				
/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/iblock/lib/propertyindex/facet.php:340
#2: Bitrix\Iblock\PropertyIndex\Facet->query(array)
	/home/bitrix/www/local/components/lynxoft/catalog.smart.filter/component.php:47
#3: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:594
#4: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:102
#5: CBitrixComponent->executeComponent()
	/home/bitrix/www/local/components/lynxoft/catalog.smart.filter/class.php:129
#6: CBitrixCatalogSmartFilter->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:638
#7: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1038
#8: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/local/templates/main/components/bitrix/catalog/quarton_catalog_official/section.php:160
#9: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:725
#10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:820
#11: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:735
#12: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:683
#13: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#14: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:594
#15: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:653
#16: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1038
#17: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/catalog/index.php:3576
#18: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#19: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2