CDbException

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

/home/users/j/j01878718/domains/sroprp.ru/reestrsro/framework/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
+
 /home/users/j/j01878718/domains/sroprp.ru/reestrsro/protected/extensions/giix-components/GxActiveRecord.php(26): CActiveRecord::model()
21      * composite pk table. Usually a character.
22      */
23     public static $pkSeparator = '-';
24 
25     public static function model($className=__CLASS__) {
26         return parent::model($className);
27     }
28 
29     /**
30      * This method should be overridden to declare related pivot models for each MANY_MANY relationship.
31      * The pivot model is used by {@link saveWithRelated}.
#8
+
 /home/users/j/j01878718/domains/sroprp.ru/reestrsro/protected/models/_base/BaseSanction.php(34): GxActiveRecord::model()
29  *
30  */
31 abstract class BaseSanction extends GxActiveRecord {
32 
33     public static function model($className=__CLASS__) {
34         return parent::model($className);
35     }
36 
37     public function tableName() {
38         return 'sanction';
39     }
#9
+
 /home/users/j/j01878718/domains/sroprp.ru/reestrsro/protected/models/Sanction.php(26): BaseSanction::model()
21             array('typeid, works, member_idNumber, member_name, member_regNumber, id_member, iddoc, datedoc, protocolDate, protocolNumber, info, measure, keyDate, state', 'safe', 'on'=>'search'),
22         );
23     }
24 
25     public static function model($className=__CLASS__) {
26         return parent::model($className);
27     }
28     public function afterFind() {
29         return parent::afterFind();
30     }
31 
2024-03-28 10:44:26 Apache Yii Framework/1.1.13