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/views/press/highlights.php(6): CActiveRecord->findAll(CDbCriteria)
01 <?php
02 $Criteria = new CDbCriteria();
03 $Criteria->condition = "highlight = 1  AND status = 0";
04 $Criteria->limit = 4;
05 $Criteria->order = "id DESC";
06 $News = News::model()->findAll($Criteria);
07 
08 
09 foreach ($News as $record):
10     ?>
11 
#11
+
 /web/htdocs/www.governanceadvisory.it/home/protected/views/press/index.php(59): CController->renderPartial("highlights")
54                         <h3><?= $highlights ?></h3>
55                     </div>
56                 </div>
57                 <!-- fine intestazione in primo piano -->
58                 
59                 <?php $this->renderPartial('highlights'); ?>
60 
61             </div>
62             <!-- fine box in primo piano -->
63 
64 
#16
+
 /web/htdocs/www.governanceadvisory.it/home/protected/controllers/PressController.php(46): CController->render("index")
41                         ), 'rss');
42         $feed->send();
43     }
44 
45     public function actionIndex() {
46         $this->render('index');
47     }
48 
49     public function actionComunicati() {
50         $this->render('comunicati');
51     }
2024-03-29 12:59:08 Apache Yii Framework/1.1.14