Jump to content

Edit History

jazz for soul

jazz for soul

Hello !

Here I am in a critical situation, when I try to access my site, I get a 500 Server Error and when I try to access the back-end, here is what is displayed:


[PrestaShopException]
Link to database cannot be established:SQLSTATE[28000] [1045] Access denied for user 'superboy'@'localhost' (using password: YES)
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 319 - classes/db/Db.php]
	DbCore->__construct - [line 240 - classes/db/Db.php] - [4 Arguments]
	DbCore::getInstance - [line 66 - config/alias.php]
	pSQL - [line 329 - classes/shop/Shop.php] - [1 Arguments]
	ShopCore::initialize - [line 114 - config/config.inc.php]
	require - [line 36 - admin/index.php] - [1 Arguments]

What to do ?? My prestashop is in 1.6 and I'm at planethoster. Thank you for your help….

 

jazz for soul

jazz for soul

Hello !

Here I am in a critical situation, when I try to access my site, I get a 500 Server Error and when I try to access the back-end, here is what is displayed:


[PrestaShopException]
Link to database cannot be established:SQLSTATE[28000] [1045] Access denied for user 'superboy'@'localhost' (using password: YES)
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 319 - classes/db/Db.php]
	DbCore->__construct - [line 240 - classes/db/Db.php] - [4 Arguments]
	DbCore::getInstance - [line 66 - config/alias.php]
	pSQL - [line 329 - classes/shop/Shop.php] - [1 Arguments]
	ShopCore::initialize - [line 114 - config/config.inc.php]
	require - [line 36 - admin/index.php] - [1 Arguments]

What to do ?? My prestashop is in 1.6 and I'm at planethoster. Thank you for your help….

 

jazz for soul

jazz for soul

Hello !

Here I am in a critical situation, when I try to access my site, I get a 500 Server Error and when I try to access the back-end, here is what is displayed:


[PrestaShopException]
Link to database cannot be established:SQLSTATE[28000] [1045] Access denied for user 'superboy'@'localhost' (using password: YES)
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 319 - classes/db/Db.php]
	DbCore->__construct - [line 240 - classes/db/Db.php] - [4 Arguments]
	DbCore::getInstance - [line 66 - config/alias.php]
	pSQL - [line 329 - classes/shop/Shop.php] - [1 Arguments]
	ShopCore::initialize - [line 114 - config/config.inc.php]
	require - [line 36 - admin/index.php] - [1 Arguments]

What to do ?? Thank you for your help….

jazz for soul

jazz for soul

Hello !

Here I am in a critical situation, when I try to access my site, I get a 500 error and when I try to access the back-end, here is what is displayed:


[PrestaShopException]
Link to database cannot be established:SQLSTATE[28000] [1045] Access denied for user 'superboy'@'localhost' (using password: YES)
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 319 - classes/db/Db.php]
	DbCore->__construct - [line 240 - classes/db/Db.php] - [4 Arguments]
	DbCore::getInstance - [line 66 - config/alias.php]
	pSQL - [line 329 - classes/shop/Shop.php] - [1 Arguments]
	ShopCore::initialize - [line 114 - config/config.inc.php]
	require - [line 36 - admin/index.php] - [1 Arguments]

What to do ?? Thank you for your help….

×
×
  • Create New...