File: .. ./mysql/discount.php
Line: 142
MySQL Query Error:
SELECT DISTINCT
D.ID as ID, D.LID as LID, D.LID as SITE_ID, D.PRICE_FR OM as PRICE_FROM, D.PRICE_TO as PRICE_TO,
D.CURRENCY as CURRENCY, D.DISCOUNT_VALUE as DISCOUNT_VALUE, D.DISCOUNT_TYPE as DISCOUNT_TYPE,
D.ACTIVE as ACTIVE, D.SORT as SORT, DATE_FORMAT(D.ACTIVE_FROM, '%d.%m.%Y %H:%i:%s') as ACTIVE_FROM,
DATE_FORMAT(D.ACTIVE_TO, '%d.%m.%Y %H:%i:%s') as ACTIVE_TO FR OM b_sale_discount D
WH ERE ((((D.LID = 's1' )))) AND ((((D.ACTIVE = 'Y' )))) AND ((( D.ACTIVE_FROM IS NULL OR NOT (D.ACTIVE_FROM > '2012-03-24 20:05:18')))) AND ((( D.ACTIVE_TO IS NULL OR NOT (D.ACTIVE_TO < '2012-03-24 20:05:18')))) AND ((())) AND ((())) ORDER BY D.SORT ASC
[You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) AND ((())) ORDER BY D.SORT ASC' at line 1]
|