Emilie Gaïalys Posted November 13, 2015 Share Posted November 13, 2015 (edited) Bonjour, J'ai constaté que je ne pouvais plus me connecter depuis le back-office de mon site Prestashop. En effet, j'ai le message suivent : [PrestaShopDatabaseException] Table 'gaialys001.ps_advice' doesn't exist SELECT a.`id_ps_advice`, a.`selector`, a.`location`, al.`html`, a.`weight` FROM `ps_advice` a LEFT JOIN `ps_advice_lang` al ON al.`id_advice` = a.`id_advice` LEFT JOIN `ps_tab_advice` at ON at.`id_advice` = a.`id_advice` WHERE ( a.`validated` = 1 AND a.`hide` = 0 AND al.`id_lang` = 1 AND at.`id_tab` = 1 AND ((a.`start_day` = 0 AND a.`stop_day` = 0) OR (13 >= a.`start_day` AND 13 <= a.`stop_day`))) at line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 630. } 631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) 632. { 633. if ($sql) 634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 635. throw new PrestaShopDatabaseException($this->getMsgError()); 636. } 637. } 638. 639. /** DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 501 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 99 - modules/gamification/classes/Advice.php] - [1 Arguments] Advice::getValidatedByIdTab - [line 170 - modules/gamification/gamification.php] - [2 Arguments] Gamification->hookDisplayBackOfficeHeader - [line 507 - classes/Hook.php] - [1 Arguments] HookCore::exec - [line 2357 - classes/controller/AdminController.php] - [2 Arguments] AdminControllerCore->init - [line 163 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] Je ne sais pas ce que je dois faire. Je n'ai pas trouvé la réponse dans les différents forum. Peut-être que l'un d'entre-vous a déjà serait me dire comment procéder ?? Je vous remercie d'avance !! Edited November 13, 2015 by Emilie Gaïalys (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted November 13, 2015 Share Posted November 13, 2015 Vous avez désinstallé un module ou effectué une modification particulière ? Votre front office fonctionne ? Link to comment Share on other sites More sharing options...
Emilie Gaïalys Posted November 13, 2015 Author Share Posted November 13, 2015 Je n'ai pas modifié le site depuis un moment c'est pour cela que je suis étonnée. Pour le front-office, les produits s'affichent bien mais lorsque je veux ajouter au panier j'ai ce message : Impossible to add the product to the cart. textStatus: 'error' errorThrown: 'Internal Server Error' responseText: [PrestaShopDatabaseException] Table 'gaialys001.ps_advice' doesn't exist SELECT id_advice FROM `ps_advice` a at line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 630. } 631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) 632. { 633. if ($sql) 634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 635. throw new PrestaShopDatabaseException($this->getMsgError()); 636. } 637. } 638. 639. /** DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 501 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 121 - modules/gamification/classes/Condition.php] - [1 Arguments] Condition::getIdsByHookCalculation - [line 143 - modules/gamification/gamification.php] - [1 Arguments] Gamification->__call - [line 507 - classes/Hook.php] - [2 Arguments] Gamification->hookactionObjectCartAddAfter - [line 507 - classes/Hook.php] - [1 Arguments] HookCore::exec - [line 517 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->add - [line 184 - classes/Cart.php] - [1 Arguments] CartCore->add - [line 246 - controllers/front/CartController.php] CartControllerCore->processChangeProductInCart - [line 72 - controllers/front/CartController.php] CartControllerCore->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
Eolia Posted November 13, 2015 Share Posted November 13, 2015 si vous avez accès au ftp supprimez le répertoire /modules/gamification Ce module est inutile, gourmand en ressources et buggué. Si vous n'y arrivez pas envoyez-moi un accès ftp par MP Link to comment Share on other sites More sharing options...
Emilie Gaïalys Posted November 13, 2015 Author Share Posted November 13, 2015 J'ai supprimé le module gamification depuis le FTP. J'ai de nouveau accès au Back Office et je peux de nouveau ajouter une commande au panier ! Merci beaucoup pour votre aide car je ne savais vraiment pas quoi faire ! Link to comment Share on other sites More sharing options...
Eolia Posted November 13, 2015 Share Posted November 13, 2015 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