CDbException

CDbConnection failed to open the DB connection: SQLSTATE[28000] [1045] Access denied for user 'Sql790879'@'31.11.36.136' (using password: YES)

/web/htdocs/www.governanceadvisory.it/home/yii/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

#7
+
 /web/htdocs/www.governanceadvisory.it/home/protected/controllers/SiteController.php(141): CActiveRecord->findByPk(31)
136             Yii::app()->language = 'it';
137         endif;
138     }
139     
140     public function loadModel($id) {
141         $model = Contents::model()->findByPk($id);
142         if ($model === null)
143             throw new CHttpException(404, 'The requested page does not exist.');
144         return $model;
145     }
146 
#8
+
 /web/htdocs/www.governanceadvisory.it/home/protected/controllers/SiteController.php(47): SiteController->loadModel(31)
42             $m4 += 6;
43             $m5 += 6;
44             $m6 += 6;
45         endif;
46         
47         $contentModel_1 = $this->loadModel($m1);
48         $contentModel_2 = $this->loadModel($m2);
49         $contentModel_3 = $this->loadModel($m3);
50         $contentModel_4 = $this->loadModel($m4);
51         $contentModel_5 = $this->loadModel($m5);
52         $contentModel_6 = $this->loadModel($m6);
#16
+
 /web/htdocs/www.governanceadvisory.it/home/index.php(14): CApplication->run()
09 defined('YII_DEBUG') or define('YII_DEBUG',true);
10 // specify how many levels of call stack should be shown in each log message
11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
12 
13 require_once($yii);
14 Yii::createWebApplication($config)->run();
2024-03-28 23:19:44 Apache Yii Framework/1.1.14