Nessanika Posted April 21, 2020 Share Posted April 21, 2020 Bonjour, depuis aujourd’hui je rencontre un problème sur mon site. Quand je vais sur la page pour accéder à mon back office ça me met une page prestashop exception . Je ne comprend pas et je ne sais pas comment résoudre le problème . Voilà ce que ça met : Link to database cannot be established:SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at line 102 in file classes/db/DbPDO.php 97. public function connect() 98. { 99. try { 100. $this->link = $this->_getPDO($this->server, $this->user, $this->password, $this->database, 5); 101. } catch (PDOException $e) { 102. throw new PrestaShopException('Link to database cannot be established:'.$e->getMessage()); 103. } 104. 105. // UTF-8 support 106. if ($this->link->exec('SET NAMES \'utf8\'') === false) { 107. throw new PrestaShopException('PrestaShop Fatal error: no utf-8 support. Please check your server configuration.'); DbPDOCore->connect - [line 319 - classes/db/Db.php] DbCore->__construct - [line 240 - classes/db/Db.php] - [4 Arguments] DbCore::getInstance - [line 66 - config/alias.php] pSQL - [line 329 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 114 - config/config.inc.php] require - [line 36 - admin/index.php] - [1 Arguments] Link to comment Share on other sites More sharing options...
Divine Posted April 21, 2020 Share Posted April 21, 2020 Hello, Ta boutique n'arrive pas à se connecter à ta base de données. Si rien n'a été touché, c'est probablement un souci avec l'hébergeur, à voir avec lui donc. Link to comment Share on other sites More sharing options...
doekia Posted April 21, 2020 Share Posted April 21, 2020 OVH semble recommencer ses opération de changement de serveur sql à l'arrache. Il faut les appeler pour connaître la nouvelle adresse du serveur sql 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