CDbException

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

/home/griyase1/public_html/protected/controllers/WebController.php(297)

285                 tblprogram.tblprogram_onpublish = "T" AND
286                 tbltemaprogram.tbltemaprogram_id = "' . $id_tema . '" AND tblprogram.tblprogram_isaktif = "T" AND tblprogram.tblprogram_verifikasi = "T"
287             ')->queryAll();
288 
289             $this->render('detail_program', array('data' => $data));
290         }
291 
292         public function actionDetail_PerProgram()
293         {
294             $slug = Yii::app()->request->getParam('slug');
295             $judul = str_replace('_', ' ', $slug);
296 
297             $data = Yii::app()->db->createCommand('
298             SELECT
299                 tblprogram.tblprogram_id AS id_progam,
300                 tblcabang.tblcabang_nama AS Cabang, 
301                 tblpengguna.tblpengguna_nama AS Relawan, 
302                 tblprogram.tblprogram_kode AS Kode_Program, 
303                 tblprogram.tblprogram_judul AS Judul_Program, 
304                 tblprogram.tblprogram_ringkasan AS Ringkasan_Program, 
305                 tblprogram.tblprogram_isi AS Keterangan_Program, 
306                 tblprogram.tbprogram_tanggalmulai AS Tanggal_Mulai, 
307                 tbltemaprogram.tbltemaprogram_judul AS Judul_Tema,
308                 tblprogram.tblprogram_file AS cover_program,
309                 tblprogram.tblprogram_targetwaktu AS Tipe_Tanggal_Akhir,

Stack Trace

#4
+
 /home/griyase1/public_html/protected/controllers/WebController.php(297): CModule->__get("db")
292         public function actionDetail_PerProgram()
293         {
294             $slug = Yii::app()->request->getParam('slug');
295             $judul = str_replace('_', ' ', $slug);
296 
297             $data = Yii::app()->db->createCommand('
298             SELECT
299                 tblprogram.tblprogram_id AS id_progam,
300                 tblcabang.tblcabang_nama AS Cabang, 
301                 tblpengguna.tblpengguna_nama AS Relawan, 
302                 tblprogram.tblprogram_kode AS Kode_Program, 
#12
+
 /home/griyase1/public_html/index.php(15): CApplication->run()
10 defined('YII_DEBUG') or define('YII_DEBUG',true);
11 // specify how many levels of call stack should be shown in each log message
12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
13 
14 require_once($yii);
15 Yii::createWebApplication($config)->run();
2020-09-28 04:24:07 LiteSpeed Yii Framework/1.1.15