transmetent Posted August 21, 2018 Share Posted August 21, 2018 Hi, when I try to reorder items on my prestashop 1.7.4.2 i get this error, can you help me? Thanks Quote 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 '), p.`date_upd` = "2018-08-21 09:13:55", product' at line 5<br /><br /><pre>UPDATE `ps7_category_product` cp INNER JOIN `ps7_product` p ON (cp.`id_product` = p.`id_product`) INNER JOIN ps7_product_shop product_shop ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1) SET cp.`position` = ELT(cp.`position`, ), p.`date_upd` = "2018-08-21 09:13:55", product_shop.`date_upd` = "2018-08-21 09:13:55" WHERE cp.`id_category` = 132 AND cp.`id_product` IN (24,8,48,87,168,180,183,204,271,272,283,321,342,354,372,373,405,440,520,527)</pre> Link to comment Share on other sites More sharing options...
transmetent Posted August 27, 2018 Author Share Posted August 27, 2018 I've the same problem Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 27, 2018 Share Posted August 27, 2018 I can see there is a bug in the SQL query. I think you need to report the same to the PS team. Meanwhile I can provide the solution using the core file changes. Kindly let us know if you are okay with core file changes? Link to comment Share on other sites More sharing options...
transmetent Posted August 27, 2018 Author Share Posted August 27, 2018 Hi, how can I report it to ps team? Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2018 Share Posted August 27, 2018 Have you reported on Github? Link to comment Share on other sites More sharing options...
salouso Posted December 3, 2020 Share Posted December 3, 2020 Same problem here. Any solutions? Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2020 Share Posted December 3, 2020 (edited) . Edited July 26, 2021 by Guest (see edit history) Link to comment Share on other sites More sharing options...
salouso Posted December 4, 2020 Share Posted December 4, 2020 Hallo Guest Wo muss ich das ändern? Ich bin eher neu mit PS unterwegs und MYSQL ist nicht mein Fachgebiet. Ist dies in einem File oder der DB zu ändern? LG Link to comment Share on other sites More sharing options...
salouso Posted December 4, 2020 Share Posted December 4, 2020 Es hat sich gerade selber erledit. Nachdem ich den Debug Mode ausgeschaltet habe, funktioniert das Sortieren einwandfrei ohne Fehlermeldung (English: For me the problem went away without doing anything except switch off debug mode). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now