Notice: Error: 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 ') a LIMIT 30' at line 1
Error No: 1064
Error in: /home/httpd/vhosts/ line 79
SELECT DISTINCT * FROM ( ( SELECT DISTINCT r.*,, p.price, p.image FROM oc_review r LEFT JOIN oc_product p ON (r.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p2s.store_id = '0' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '1' AND p2c.category_id != '64' ORDER BY date_added DESC LIMIT 30 ) UNION ALL ) a LIMIT 30 in /home/httpd/vhosts/ on line 62Notice: Trying to get property of non-object in /home/httpd/vhosts/ on line 81Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/ on line 30 Грунты