File: /home/admin/domains/coolon.ru/public_html/bitrix/modules/sale/mysql/basket.php
Line: 141
MySQL Query Error: SELECT DISTINCT B.ID as ID, B.FUSER_ID as FUSER_ID, B.ORDER_ID as ORDER_ID, B.PRODUCT_ID as PRODUCT_ID, B.PRODUCT_PRICE_ID as PRODUCT_PRICE_ID, B.PRICE as PRICE, B.CURRENCY as CURRENCY, DATE_FORMAT(B.DATE_INSERT, '%d.%m.%Y %H:%i:%s') as DATE_INSERT, DATE_FORMAT(B.DATE_UPDATE, '%d.%m.%Y %H:%i:%s') as DATE_UPDATE, B.WEIGHT as WEIGHT, B.QUANTITY as QUANTITY, B.LID as LID, B.DELAY as DELAY, B.NAME as NAME, B.CAN_BUY as CAN_BUY, B.MODULE as MODULE, B.CALLBACK_FUNC as CALLBACK_FUNC, B.NOTES as NOTES, B.ORDER_CALLBACK_FUNC as ORDER_CALLBACK_FUNC, B.PAY_CALLBACK_FUNC as PAY_CALLBACK_FUNC, B.CANCEL_CALLBACK_FUNC as CANCEL_CALLBACK_FUNC, B.DETAIL_PAGE_URL as DETAIL_PAGE_URL, B.DISCOUNT_PRICE as DISCOUNT_PRICE, B.CATALOG_XML_ID as CATALOG_XML_ID, B.PRODUCT_XML_ID as PRODUCT_XML_ID, B.DISCOUNT_NAME as DISCOUNT_NAME, B.DISCOUNT_VALUE as DISCOUNT_VALUE, B.DISCOUNT_COUPON as DISCOUNT_COUPON, B.VAT_RATE as VAT_RATE, O.ALLOW_DELIVERY as ORDER_ALLOW_DELIVERY, OP.PAYED as ORDER_PAYED, OPR.PRICE as ORDER_PRICE FROM b_sale_basket B LEFT JOIN b_sale_order O ON (O.ID = B.ORDER_ID) LEFT JOIN b_sale_order OP ON (OP.ID = B.ORDER_ID) LEFT JOIN b_sale_order OPR ON (OPR.ID = B.ORDER_ID) WHERE ((((B.FUSER_ID = 7155901 )))) AND ((((B.LID = 'ai' )))) AND ((((B.ORDER_ID IS NULL) OR (B.ORDER_ID = 0)))) ORDER BY B.NAME ASC [Table './admin_coolon/b_sale_basket' is marked as crashed and should be repaired]
DB query error.
Please try later.