Inscrição - Inscrição - COP.49 CDbException

CDbException

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

/var/www/vhosts/quemvai.com.br/cop49.quemvai.com.br/extranet/yii/db/CDbConnection.php(381)

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

Stack Trace

#7
+
–
 /var/www/vhosts/quemvai.com.br/cop49.quemvai.com.br/extranet/protected/extensions/giix-components/GxActiveRecord.php(27): CActiveRecord::model()
22      */
23     public static $pkSeparator = '-';
24     public $beforeSaveExecuted = 0;
25 
26     public static function model($className=__CLASS__) {
27         return parent::model($className);
28     }
29 
30     public function afterFind(){
31         return parent::afterFind();
32     }
#8
+
–
 /var/www/vhosts/quemvai.com.br/cop49.quemvai.com.br/extranet/protected/models/_base/BaseBanner.php(35): GxActiveRecord::model()
30 abstract class BaseBanner extends GxActiveRecord {
31     
32     
33         
34     public static function model($className=__CLASS__) {
35         return parent::model($className);
36     }
37 
38     public function tableName() {
39         return 'banner';
40     }
#9
+
–
 /var/www/vhosts/quemvai.com.br/cop49.quemvai.com.br/extranet/protected/models/Banner.php(7): BaseBanner::model()
02 
03 Yii::import('application.models._base.BaseBanner');
04 
05 class Banner extends BaseBanner {
06     public static function model($className = __CLASS__) {
07         return parent::model($className);
08     }
09 
10     public function getLast() {
11         $pos = 1;
12         $obj = $this->find(array('order' => 'posicao desc'));
2026-10-08 03:00:40 Apache Yii Framework/1.1.13