FILE: /var/www/www-root/data/www/www/wwwall-tyresru/bitrix/modules/iblock/classes/mysql/iblockelement.php LINE: 735 MySQL Query Error: SELECT FPEN0.VALUE as PROPERTY_BRAND_VALUE, FPEN0.ID as PROPERTY_BRAND_ENUM_ID, concat(BE.ID , ':' , 268) as PROPERTY_BRAND_VALUE_ID, FPEN1.VALUE as PROPERTY_SHIRINA_VALUE, FPEN1.ID as PROPERTY_SHIRINA_ENUM_ID, concat(BE.ID , ':' , 274) as PROPERTY_SHIRINA_VALUE_ID, FPEN2.VALUE as PROPERTY_VISOTA_VALUE, FPEN2.ID as PROPERTY_VISOTA_ENUM_ID, concat(BE.ID , ':' , 269) as PROPERTY_VISOTA_VALUE_ID, FPEN3.VALUE as PROPERTY_DIAMETR_VALUE, FPEN3.ID as PROPERTY_DIAMETR_ENUM_ID, concat(BE.ID , ':' , 273) as PROPERTY_DIAMETR_VALUE_ID,BE.SORT as SORT , CAT_P4.ID as CATALOG_PRICE_ID_4, CAT_P4.CATALOG_GROUP_ID as CATALOG_GROUP_ID_4, CAT_P4.PRICE as CATALOG_PRICE_4, CAT_P4.CURRENCY as CATALOG_CURRENCY_4, CAT_P4.QUANTITY_FROM as CATALOG_QUANTITY_FROM_4, CAT_P4.QUANTITY_TO as CATALOG_QUANTITY_TO_4, '' as CATALOG_GROUP_NAME_4, 'Y' as CATALOG_CAN_ACCESS_4, 'Y' as CATALOG_CAN_BUY_4, CAT_P4.EXTRA_ID as CATALOG_EXTRA_ID_4, CAT_PR.QUANTITY as CATALOG_QUANTITY, IF (CAT_PR.QUANTITY_TRACE = 'D', 'Y', CAT_PR.QUANTITY_TRACE) as CATALOG_QUANTITY_TRACE, CAT_PR.QUANTITY_TRACE as CATALOG_QUANTITY_TRACE_ORIG, IF (CAT_PR.CAN_BUY_ZERO = 'D', 'Y', CAT_PR.CAN_BUY_ZERO) as CATALOG_CAN_BUY_ZERO, IF (CAT_PR.NEGATIVE_AMOUNT_TRACE = 'D', 'Y', CAT_PR.NEGATIVE_AMOUNT_TRACE) as CATALOG_NEGATIVE_AMOUNT_TRACE, IF (CAT_PR.SUBSCRIBE = 'D', 'Y', CAT_PR.SUBSCRIBE) as CATALOG_SUBSCRIBE, IF (
CAT_PR.QUANTITY > 0 OR
IF (CAT_PR.QUANTITY_TRACE = 'D', 'Y', CAT_PR.QUANTITY_TRACE) = 'N' OR
IF (CAT_PR.CAN_BUY_ZERO = 'D', 'Y', CAT_PR.CAN_BUY_ZERO) = 'Y',
'Y', 'N'
) as CATALOG_AVAILABLE, CAT_PR.WEIGHT as CATALOG_WEIGHT, CAT_PR.WIDTH as CATALOG_WIDTH, CAT_PR.LENGTH as CATALOG_LENGTH, CAT_PR.HEIGHT as CATALOG_HEIGHT, CAT_PR.MEASURE as CATALOG_MEASURE, CAT_VAT.RATE as CATALOG_VAT, CAT_PR.VAT_INCLUDED as CATALOG_VAT_INCLUDED, CAT_PR.PRICE_TYPE as CATALOG_PRICE_TYPE, CAT_PR.RECUR_SCHEME_TYPE as CATALOG_RECUR_SCHEME_TYPE, CAT_PR.RECUR_SCHEME_LENGTH as CATALOG_RECUR_SCHEME_LENGTH, CAT_PR.TRIAL_PRICE_ID as CATALOG_TRIAL_PRICE_ID, CAT_PR.WITHOUT_ORDER as CATALOG_WITHOUT_ORDER, CAT_PR.SELECT_BEST_PRICE as CATALOG_SELECT_BEST_PRICE, CAT_PR.PURCHASING_PRICE as CATALOG_PURCHASING_PRICE, CAT_PR.PURCHASING_CURRENCY as CATALOG_PURCHASING_CURRENCY, CAT_PR.TYPE as CATALOG_TYPE
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_element_prop_s15 FPS0 ON FPS0.IBLOCK_ELEMENT_ID = BE.ID
LEFT JOIN b_iblock_property_enum FPEN0 ON FPEN0.PROPERTY_ID = 268 AND FPS0.PROPERTY_268 = FPEN0.ID
LEFT JOIN b_iblock_property_enum FPEN1 ON FPEN1.PROPERTY_ID = 274 AND FPS0.PROPERTY_274 = FPEN1.ID
LEFT JOIN b_iblock_property_enum FPEN2 ON FPEN2.PROPERTY_ID = 269 AND FPS0.PROPERTY_269 = FPEN2.ID
LEFT JOIN b_iblock_property_enum FPEN3 ON FPEN3.PROPERTY_ID = 273 AND FPS0.PROPERTY_273 = FPEN3.ID
INNER JOIN b_iblock_property_enum FPEN4 ON FPEN4.PROPERTY_ID = 275 AND FPS0.PROPERTY_275 = FPEN4.ID
INNER JOIN b_iblock_property_enum FPEN5 ON FPEN5.PROPERTY_ID = 267 AND FPS0.PROPERTY_267 = FPEN5.ID
LEFT JOIN b_catalog_price CAT_P4 ON (CAT_P4.PRODUCT_ID = BE.ID AND CAT_P4.CATALOG_GROUP_ID = 4)
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))
WHERE 1=1
AND (
((((BE.IBLOCK_ID = '15'))))
AND ((((CAT_P4.PRICE > '1'))))
AND ((((FPS0.PROPERTY_277 >= '1'))))
AND ((((FPEN4.VALUE LIKE 'легковая'))))
AND ((((FPEN5.VALUE LIKE 'Зимняя шипованная'))))
)
AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)))
ORDER BY BE.SORT asc [Lost connection to MySQL server during query]