Deprecated: AppKernel implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/klient.dhosting.pl/test5276/prestas199.you2.pl/public_html/app/AppKernel.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at /home/klient.dhosting.pl/test5276/prestas199.you2.pl/public_html/app/AppKernel.php:33) in /home/klient.dhosting.pl/test5276/prestas199.you2.pl/public_html/classes/exception/PrestaShopException.php on line 41

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for prestas199.you2.pl.mysql.dhosting.pl failed: Name or service not known
at line 136 in file classes/db/DbPDO.php

131.     public function connect()
132.     {
133.         try {
134.             $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5);
135.         } catch (PDOException $e) {
136.             throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage());
137.         }
138. 
139.         $this->link->exec('SET SESSION sql_mode = \'\'');
140. 
141.         return $this->link;