Jump to content

Recommended Posts

Bonjour,

Nous avons une erreur 500 depuis quelques heures sur notre boutique 

https://www.berardfrance.com

J'ai cette erreur en me connectant au BO :

Quote

[PrestaShopException]

Link to database cannot be established:SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'berardfrsite2017.mysql.db' (4)
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 323 - classes/db/Db.php]

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

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

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

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

require - [line 43 - admin/index.php] - [1 Arguments]

Comment trouver la panne svp ?

Merci

Edited by sevsev (see edit history)
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...