Erreur 500 acces serveur
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Erreur 500 acces serveur

Par
JeremyH8
Créé le 2020-05-31 15:43:34 (edited on 2024-09-04 14:09:03) dans Bases de données

Bonjour à tous,

Après une erreur 500 j'obtiens cette ligne,

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;


est ce que l'un d'entre vous pourrait m'aider?


2 réponses ( Latest reply on 2020-05-31 16:08:24 Par
JeremyH8
)

vérifie que le serveur de base de données dans ton prestashop correspond à celui indiqué dans ton manager

C'est bien ca!! merci bcp ;)

Les réponses sont actuellement désactivées pour cette question.