CDbException

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

/data/bkpsdmmuaraenim/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

#7
+
 /data/bkpsdmmuaraenim/public_html/protected/controllers/WebController.php(706): CActiveRecord->findByPk("80")
701     // }
702 
703     public function actionPengumuman()
704     {
705         $id = Yii::app()->request->getParam('id');
706         $model_kontent = Pengumuman::model()->findByPk($id);
707         $this->render('pengumuman', array('model_kontent' =>$model_kontent));
708     }
709     
710     public function actionInformasi()
711     {
#15
+
 /data/bkpsdmmuaraenim/public_html/index.php(16): CApplication->run()
11 defined('YII_DEBUG') or define('YII_DEBUG',true);
12 // specify how many levels of call stack should be shown in each log message
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
14 
15 require_once($yii);
16 Yii::createWebApplication($config)->run();
2020-04-10 00:37:03 Apache Yii Framework/1.1.15