Вы оптовик?

Консультируем:

24 часа в сутки

7 дней в неделю

info@lustrograd.com

8 (495) 133-01-96

8 (800) 350-81-83

Заказать звонок
Каталог товаров

Калькулятор мощности освещения Рассчитайте необходимую Вам мощность освещения.
Прайс лист
Для получения прайса заполните форму.

Имя
E-mail*
Телефон*
Калькулятор мощности
Рассчитайте необходимую Вам мощность освещения.
Ваша площадь освещения m2
Яркость
Рекомендуемая мощность:
0Лампы накаливания:
0Энергосберегающие лампы:
0Светодиодные лампы:

123

[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (5) Out of memory (Needed 2097124 bytes) (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_13_index F
					INNER JOIN (
						SELECT BE.ID
						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
			
		
							INNER JOIN b_iblock_13_index FC on FC.ELEMENT_ID = BE.ID
						WHERE 1=1 AND FC.SECTION_ID = 166 AND FC.FACET_ID = 282 AND FC.VALUE_NUM = 0 AND FC.VALUE in (212839)
						
			AND (
			
				(((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL)))
				AND ((((BE.IBLOCK_ID = '13'))))
			)
			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'
				
			))
			))
					) E ON E.ID = F.ELEMENT_ID
				WHERE
					F.SECTION_ID = 166
					and F.FACET_ID in (44,46,58,60,304,346,140,138,136,182,544,170,536,144,538,146,542,272,386,560,576,274,342,340,180,388,360,556,558,362,116,3)
				GROUP BY
					F.FACET_ID, F.VALUE
			
UNION ALL

					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
			
		
							INNER JOIN b_iblock_13_index F ON BE.ID = F.ELEMENT_ID
					WHERE
						F.SECTION_ID = 166
						and F.FACET_ID in (282)
						
			AND (
			
				(((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL)))
				AND ((((BE.IBLOCK_ID = '13'))))
			)
			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
				
/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/iblock/lib/propertyindex/facet.php:340
#2: Bitrix\Iblock\PropertyIndex\Facet->query(array)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/components/bitrix/catalog.smart.filter/component.php:403
#3: include(string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component.php:551
#4: CBitrixComponent->__includeComponent()
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component.php:99
#5: CBitrixComponent->executeComponent()
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/components/bitrix/catalog.smart.filter/class.php:129
#6: CBitrixCatalogSmartFilter->executeComponent()
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component.php:588
#7: CBitrixComponent->includeComponent(string, array, object)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/main.php:1041
#8: CAllMain->IncludeComponent(string, string, array, object, array)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/templates/elektro_flat_custom_copy/components/bitrix/catalog/.default/section.php:193
#9: include(string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component_template.php:720
#10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component_template.php:815
#11: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component.php:685
#12: CBitrixComponent->showComponentTemplate()
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component.php:633
#13: CBitrixComponent->includeComponentTemplate(string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/components/bitrix/catalog/component.php:169
#14: include(string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component.php:551
#15: CBitrixComponent->__includeComponent()
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/component.php:603
#16: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/classes/general/main.php:1041
#17: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/p31052/data/www/bitrix.lustrograd.com/catalog/index.php:352
#18: include_once(string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/modules/main/include/urlrewrite.php:159
#19: include_once(string)
	/var/www/p31052/data/www/bitrix.lustrograd.com/bitrix/urlrewrite.php:2