Jump to content
  • 0

Link to database cannot be established


titanforge

Question

Witam 

 

Od paru dni mamy problem z naszą stroną http://titan-forge.com/ od czasu do czasu strona umiera dając komunikat (przy próbie wejścia na panel admina presty):

 

[PrestaShopException]
Link to database cannot be established:SQLSTATE[HY000] [1040] Too many connections
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 235 - 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]

 

Po jakimś czasie tj mniej wiecej 2-3h wszystko wraca do normy.

 

Kontaktowaliśmy się w tej sprawie z OVH gdzie mamy postawiony nasz sklep ale zero odzewu.

 

Czy ktoś orientuje się na czym dokładnie polega problem i ewentualnie jak mu zaradzić?

 

 

 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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...