Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Ошибка при добавлении акции


Recommended Posts

Всем доброго! сегодня добавил к товару акцию и бац

Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM oc_product_special ps1 LEFT JOIN oc_product p1 ON (ps1.product_id = p1' at line 4<br />Error No: 1064<br /> SELECT p.product_id FROM oc_product p WHERE 1 AND ((SELECT DISTINCT ps1.product_id, FROM oc_product_special ps1 LEFT JOIN oc_product p1 ON (ps1.product_id = p1.product_id) JOIN oc_product_to_store p2s1 ON (p1.product_id = p2s1.product_id AND p2s1.store_id = '0') WHERE p1.status = '1' AND ps1.product_id < 16574 AND p1.date_available <= NOW() AND ps1.customer_group_id = '1' AND ((ps1.date_start = '0000-00-00' OR ps1.date_start < NOW()) AND (ps1.date_end = '0000-00-00' OR ps1.date_end > NOW()) ) GROUP BY ps1.product_id ORDER BY ps1.product_id DESC LIMIT 1) OR (SELECT DISTINCT ps2.product_id, FROM oc_product_special ps2 LEFT JOIN oc_product p2 ON in /var/www/admin/data/www/***.ru/system/library/db/mysqli.php on line 46

 

раньше икого не было, Гуру подскажите ггде копать?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.