prestaprojet Posted January 24, 2022 Share Posted January 24, 2022 Bonjour, J'ai commencé mon projet en local avec wamp sur mon ordinateur ; Cependant, je change d'ordinateur et je suis en train de faire migrer mon installation de mon PC 1 vers mon nouveau PC 2. Pas de soucis pour l'installation de WAMP et de la boutique Prestashop ; Par contre quand je migre ma base de données voici les erreurs que j'obtiens : Quote [PrestaShopDatabaseException] La table 'prestashop.ps_configuration' n'existe pas<br /><br /><pre>SELECT c.`name`, cl.`id_lang`, IF(cl.`id_lang` IS NULL, c.`value`, cl.`value`) AS value, c.id_shop_group, c.id_shop FROM `ps_configuration` c LEFT JOIN `ps_configuration_lang` cl ON (c.`id_configuration` = cl.`id_configuration`)</pre> at line 769 in file classes/db/Db.php 764. if ($webservice_call && $errno) { 765. $dbg = debug_backtrace(); 766. WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97); 767. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 768. if ($sql) { 769. throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>'); 770. } 771. 772. throw new PrestaShopDatabaseException($this->getMsgError()); 773. } 774. } Quote DbCore->displayError - [line 385 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 613 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 160 - classes/Configuration.php] - [1 Arguments] ConfigurationCore::loadConfiguration - [line 209 - classes/Configuration.php] ConfigurationCore::get - [line 289 - classes/Configuration.php] - [4 Arguments] ConfigurationCore::getMultiShopValues - [line 380 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 118 - config/config.inc.php] require - [line 27 - index.php] - [1 Arguments] Quelqu'un pourrait m'aider svp à résoudre ce problème afin de finaliser l'installation Merci d'avance pour votre aide :-) Link to comment Share on other sites More sharing options...
Marz12 Posted February 16, 2022 Share Posted February 16, 2022 Bonjour, pour migrer la base de données, avez-vous suivi les indications données ici https://devdocs.prestashop.com/1.7/basics/keeping-up-to-date/backup/#database-backup Quote To get the same file content as the mysqldump method, the following options should be checked as well: Use LOCK TABLES statement Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER statement 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