X
Быстрый заказ:
File: /home/bitrix/www/bitrix/modules/catalog/mysql/discount.php
Line: 324
MySQL Query Error: SELECT CD.ID as ID, CD.TYPE as TYPE, CD.SITE_ID as SITE_ID, CD.ACTIVE as ACTIVE, DATE_FORMAT(CD.ACTIVE_FROM, '%d.%m.%Y %H:%i:%s') as ACTIVE_FROM, DATE_FORMAT(CD.ACTIVE_TO, '%d.%m.%Y %H:%i:%s') as ACTIVE_TO, CD.RENEWAL as RENEWAL, CD.NAME as NAME, CD.SORT as SORT, CD.MAX_DISCOUNT as MAX_DISCOUNT, CD.VALUE_TYPE as VALUE_TYPE, CD.VALUE as VALUE, CD.CURRENCY as CURRENCY, CD.PRIORITY as PRIORITY, CD.LAST_DISCOUNT as LAST_DISCOUNT, CDCP.COUPON as COUPON, CDCP.ONE_TIME as COUPON_ONE_TIME, CDCP.ACTIVE as COUPON_ACTIVE, CD.UNPACK as UNPACK, CD.CONDITIONS as CONDITIONS FROM b_catalog_discount CD LEFT JOIN b_catalog_discount_coupon CDCP ON (CD.ID = CDCP.DISCOUNT_ID) WHERE ((((CD.ID IN (1193812,1193813,1193814,1193815,1193816,1193817,1193818,1193819,1193820,1193821,1193822,1193823,1193824,1193825,1193826,1193827,1193828,1193829,1193830,1193831,1193832,1193833,1193834,1193835,1193836,1193837,1193838,1193839,1193840,1193841,1193842,1193843,1193844,1193845,1193846,1193847,1193848,1193849,1193850,1193851,1193852,1193853,1193854,1193855,1193856,1193857,1193858,1193859,1193860,1193861,1193862,1193863,1193864,1193865,1193866,1193867,1193868,1193869,1193870,1193871,1193872,1193873,1193874,1193875,1193876,1193877,1193878,1193879,1193880,1193881,1193882,1193883,1193884,1193885,1193886,1193887,1193888,1193889,1193890,1193891,1193892,1193893,1193894,1193895,1193896,1193897,1193898,2983023,2983024,2983025,2983026,2983027,2983028,2983029,2983030,2983031,2983032,3026359,3026360,3026361,3026362,3026363,3026364,3026365,3026366,3026367,3026368,3026873,3026874,3026875,3026876,3026877,3026878,3026879,3026880,3026881,3026882,3026883,3026884,3026885,3026886,3026887,3026888,3026889,3026890,3026891,3026892,3026893,3026894,3026895,3026896,3026897,3026898,3026899,3026900,3026901,3026902,3026903,3026904,3026905,3026906,3026907,3026908,3026909,3026910,3026911,3026912,3026913,3026914,3026915,3026916,3026917,3026918,3026919,3026920,3026921,3026922,3026923,3026924,3026925,3026926,3026927,3026928,3026929,3026930,3026931,3026932,3026933,3026934,3026935,3026936,3356045,3356048,3356049,3356050,3356051,3356052,3356053,3356054,3356055,3356056,3356057,3356058,3356059,3356060,3356061,3356062,3356063,3356064,3356065,3356066,3356067,3356068,3356069,3356070,3356071,3356072,3356073,3356074,3356075,3356076,3356077,3356078,3356079,3356080,3356081,3356082,3356083,3356084,3356085,3356086,3356087,3356088,3356089,3356090,3356091,3356092,3356093,3356094,3356095,3356096,3356097,3356098,3356099,3356100,3356101,3356102,3356103,3356104,3356105,3356106,3356107,3356108,3356109,3356110,3356111,3356112,3356113,3356114,3356115,3356116,3356117,3356118,3356119,3356120,3356121,3356122,3356123,3356124,3356125,3356126,3356127,3356128,3356129,3356130,3356131,3356132,3356133,3356134,3356135,3356136,3356137,3356138,3356139,3356140,3356141,3356142,3356143,3356144,3356145,3356146,3356147,3356148,3356149,3356150,3356151,3356152,3356153,3356154,3356155,3356156,3356157,3356158,3356159,3356160,3356161,3356162,3356163,3356164,3356165,3356166,3356167,3356168,3356169,3356170,3356171,3356172,3356173,3356174,3356175,3356176,3356177,3356178,3356179,3356180,3356181,3356182,3356183,3356184,3356185,3356186,3356187,3356188,3356189,3356190,3356191,3356192,3356193,3356194,3356195,3356196,3356197,3356198,3356199,3356200,3356201,3356202,3356203,3356204,3356205,3356206,3356207,3356208,3356209,3356210,3356211,3356212,3356213,3356214,3356215,3356216,3356217,3356218,3356219,3356220,3356221,3356222,3356223,3356224,3356225,3356226,3356227,3356228,3356229,3356230,3356231,3356232,3356233,3356234,3356235,3356236,3356237,3356238,3356239,3356240,3356241,3356242,3356243,3356244,3356245,3356246,3356247,3356248,3356249,3356250,3356251,3356252,3356253,3356254,3356255,3356256,3356257,3356258,3356259,3356260,3356261,3356262,3356263,3356264,3356265,3356266,3356267,3356268,3356269,3356270,3356271,3356272,3356273,3356274,3356275,3356276,3356277,3356278,3356279,3356280,3356281,3356282,3356283,3356284,3356285,3356286,3356287,3356288,3356289,3356290,3356291,3356292,3356293,3356294,3356295,3356296,3356297,3356298,3356299,3356300,3356301,3356302,3356303,3356304,3356305,3356306,3356307,3356308,3356309,3356310,3356311,3356312,3356313,3356314,3356315,3356316,3356317,3356318,3356319,3356320,3356321,3356322,3356323,3356324,3356325,3356326,3356327,3356328,3356329,3356330,3356331,3356332,3356333,3356334,3356335,3356336,3356337,3356338,3356339,3356340,3356341,3356342,3356343,3356344,3356345,3356346,3356347,3356348,3356349,3356350,3356351,3356352,3356353,3356354,3356355,3356356,3356357,3356358,3356359,3356360,3356361,3356362,3356363,3356364,3356365,3356366,3356367,3356368,3356369,3356370,3356371,3356372,3356373,3356374,3356375))))) and ((((CD.SITE_ID = 'ss' )))) and ((((CD.TYPE IS NULL) OR (CD.TYPE = 0)))) and ((((CD.RENEWAL = 'N' )))) and ((((CD.ACTIVE_FROM <= '2019-05-21 18:31:26')) OR (CD.ACTIVE_FROM IS NULL))) and ((((CD.ACTIVE_TO >= '2019-05-21 18:31:26')) OR (CD.ACTIVE_TO IS NULL))) and (((CDCP.COUPON IS NULL) OR (CDCP.COUPON = '')))[[0] ]

DB query error.
Please try later.