Hébergements Web - Message : 500 Server Error
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.
Frage

Message : 500 Server Error

Von
Community Deleted user
Erstellungsdatum 2018-08-16 14:37:49 (edited on 2024-09-04 12:25:28) in Hébergements Web

Bonjour,
Plus d'accès au site web ni au backoffice Prestashop.
Quelqu'un pourrait il me renseigner ?
Faut il attendre ? Panne serveur OVH ? ou faut il faire une démarche ?
Voici les messages :
Message pour accéder au site :
**_500 Server Error_**
**_Oops, something went wrong._**
**_Try to refresh this page or feel free to contact us if the problem persists._**

Message pour accéder au backoffice Prestashop :
[PrestaShopException]

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.');


Merci, Dominique


2 Antworten ( Latest reply on 2018-08-16 15:28:11 Von
BorisM
)

Vérifie ton .ovhconfig, principalement : container.image=stable

Bonjour,
Il n'arrive pas à résoudre l'hôte mysql, vérifies le fichier de config prestashop et en l'occurrence la valeur du serveur de base de données (un espace en trop ou un caractères en trop etc.).

Cordialement,
Boris.