Jump to content

Recommended Posts

Bonjour,

Lorsque j'essaye d'accéder à la partie "Traductions" sous International de prestashop 1.7.6, voici le message d'erreur qui m'est renvoyé. 

Est-ce que quelqu'un saurait me guider sur la manip à faire pour corriger ce problème ? 

Merci et bonne journée :)

 

Quote

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
at line 127 in file classes/db/DbPDO.php

122. public function connect() 123. { 124. try { 125. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 126. } catch (PDOException $e) { 127. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 128. } 129. 130. $this->link->exec('SET SESSION sql_mode = \'\''); 131. 132. return $this->link;

DbPDOCore->connect - [line 330 - classes/db/Db.php]

DbCore->__construct - [line 241 - classes/db/Db.php] - [4 Arguments]

DbCore::getInstance - [line 47 - config/alias.php]

pSQL - [line 340 - classes/shop/Shop.php] - [1 Arguments]

ShopCore::initialize - [line 119 - config/config.inc.php]

require - [line 40 - adminhpf/index.php] - [1 Arguments]

 

EDIT : le temps de poster ce message, de créer mon compte ici, et de re-re-re-re-réessayer, j'ai eu accès à Traductions. Mais j'aimerais bien savoir ce qui a causé le premier problème...?

Edited by BoutiqueHPF (see edit history)

Share this post


Link to post
Share on other sites

Bonjour,

Comme dit dans le message d'erreur, il ne pouvait plus se connecter à la base de données. Un hoquet de l'hébergeur ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More