CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'partgrouppl_main'@'localhost' (using password: YES)

/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/db/CDbConnection.php(382)

370                 throw new CDbException('CDbConnection.connectionString cannot be empty.');
371             try
372             {
373                 Yii::trace('Opening DB connection','system.db.CDbConnection');
374                 $this->_pdo=$this->createPdoInstance();
375                 $this->initConnection($this->_pdo);
376                 $this->_active=true;
377             }
378             catch(PDOException $e)
379             {
380                 if(YII_DEBUG)
381                 {
382                     throw new CDbException('CDbConnection failed to open the DB connection: '.
383                         $e->getMessage(),(int)$e->getCode(),$e->errorInfo);
384                 }
385                 else
386                 {
387                     Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException');
388                     throw new CDbException('CDbConnection failed to open the DB connection.',(int)$e->getCode(),$e->errorInfo);
389                 }
390             }
391         }
392     }
393 
394     /**

Stack Trace

#10
+
 /home/partgrouppl/domains/agencja.partgroup.pl/public_html/protected/components/Controller.php(34): CModule->__isset()
29         if (isset($_GET['lang']))
30         {
31             $app->language = $_GET['lang'];
32             $app->session['lang'] = $app->language;
33         }
34         else if (isset($app->session['lang']))
35         {
36             $app->language = $app->session['lang'];
37         }
38         
39         $this->ustawGlownyTytulStrony();
#14
+
 /home/partgrouppl/domains/agencja.partgroup.pl/public_html/index.php(12): CApplication->run()
07 // specify how many levels of call stack should be shown in each log message
08 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
09 // Turn off all error reporting
10 error_reporting(0);
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2024-03-19 05:13:29 Apache/2 Yii Framework/1.1.12