Notice: Use of undefined constant _DB_PREFIX_ - assumed '_DB_PREFIX_' in /var/www/clients/client10/web16/web/classes/shop/Shop.php on line 327

Notice: Use of undefined constant _DB_PREFIX_ - assumed '_DB_PREFIX_' in /var/www/clients/client10/web16/web/classes/shop/Shop.php on line 328

Notice: Use of undefined constant _DB_SERVER_ - assumed '_DB_SERVER_' in /var/www/clients/client10/web16/web/classes/db/Db.php on line 217

Notice: Use of undefined constant _DB_USER_ - assumed '_DB_USER_' in /var/www/clients/client10/web16/web/classes/db/Db.php on line 217

Notice: Use of undefined constant _DB_PASSWD_ - assumed '_DB_PASSWD_' in /var/www/clients/client10/web16/web/classes/db/Db.php on line 217

Notice: Use of undefined constant _DB_NAME_ - assumed '_DB_NAME_' in /var/www/clients/client10/web16/web/classes/db/Db.php on line 217

Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client10/web16/web/classes/db/DbPDO.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client10/web16/web/classes/shop/Shop.php:327) in /var/www/clients/client10/web16/web/classes/exception/PrestaShopException.php on line 37

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