Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/smartphone/public_html/website/vendor/icanboogie/common/lib/helpers.php on line 306

Warning: Cannot modify header information - headers already sent by (output started at /home/smartphone/public_html/website/vendor/icanboogie/common/lib/helpers.php:306) in /home/smartphone/public_html/website/classes/exception/PrestaShopException.php on line 41

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [1044] Access denied for user 'smartphone_smartphone'@'86.107.32.171' to database 'smartphone_psa'
at line 127 in file classes/db/DbPDO.php

122.     public function connect()
123.     {
124.         try {
125.             $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5);
126.         } catch (PDOException $e) {
127.             throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage());
128.         }
129. 
130.         $this->link->exec('SET SESSION sql_mode = \'\'');
131. 
132.         return $this->link;