herve-europieces Posted September 9, 2013 Share Posted September 9, 2013 (edited) Bonjour, Après avoir configuré l'indexation automatique sur oui (dans "Préférences Recherche") je ne peux plus modifier les fiches produits et l'indexation ne se fait pas non plus. Quand je modifie une fiche produit et que je l'enregistre voici l'erreur que j'ai : Voir l'image en grand [PrestaShopDatabaseException] 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 'WHERE a.id_product IN (9551)' at line 5 UPDATE ps_product a INNER JOIN ps_product_shop product_shop ON (product_shop.id_product = a.id_product AND product_shop.id_shop = 1) SET WHERE a.id_product IN (9551) at line 607 in file classes/db/Db.php 601. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 602. } 603. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) 604. { 605. if ($sql) 606. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 607. throw new PrestaShopDatabaseException($this->getMsgError()); 608. } 609. } 610. 611. /** DbCore->displayError - [line 307 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 447 - classes/db/Db.php] - [1 Arguments] DbCore->execute - [line 1311 - classes/ObjectModel.php] - [1 Arguments] ObjectModelCore::updateMultishopTable - [line 431 - classes/Search.php] - [3 Arguments] SearchCore::indexation - [line 1842 - controllers/admin/AdminProductsController.php] - [2 Arguments] AdminProductsControllerCore->processUpdate - [line 659 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->processSave - [line 538 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->postProcess - [line 1251 - controllers/admin/AdminProductsController.php] - [0 Argument] AdminProductsControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - adminoxy/index.php] - [0 Argument] Je ne vois pas d’où cela peut venir et l'indexation automatique est indispensable car nous avons trop de produits pour faire l'indexation manuellement. Merci de votre aide. Edited September 9, 2013 by herve-europieces (see edit history) 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