Jump to content

erreur 500 backoffice et site non accessible


Recommended Posts

Bonjour,

Depuis hier mon site et mon backoffice non accessible par erreur 500. 

ticket OVH réalisé et pas encore de news.

En faisant le mode debug : a priori un pb de lien vers une base de données
Debug donne  »
Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/lestropehz/www/classes/db/DbPDO.php on line 46

Fatal error: Uncaught Link to database cannot be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known thrown in /home/lestropehz/www/classes/db/DbPDO.php on line 57″

Je suis allé voir DbPDO.php line 46 et 57
Line 46 : return new PDO($dsn, $user, $password, array(PDO::ATTR_TIMEOUT => $timeout, PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true));

Line 57 : throw new PrestaShopDatabaseException(sprintf(Tools::displayError(‘Link to database cannot be established: %s’), $e->getMessage()));

…et ne sais que faire.

Merci.

Marie

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...