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(228)

216                     *
217                 FROM
218                     tblkategoriprogram')->queryAll();
219                 $this->render('all_program', array('data' => $data));
220             }
221         }
222 
223         public function actionAllZakat($isAjax = false)
224         {
225             if ($isAjax) {
226                 $this->render('_all_zakat');
227             } else {
228                 $data['kategori'] = Yii::app()->db->createCommand('
229                 SELECT
230                     *
231                 FROM
232                     tblkategoriprogram')->queryAll();
233 
234                 $beras = Hargareal::model()->findByPk(1);
235                 $emas = Hargareal::model()->findByPk(2);
236 
237                 $this->render('all_zakat', array('data' => $data, 'beras' => $beras, 'emas' => $emas));
238             }
239         }
240 

Stack Trace

#4
+
 /home/griyase1/public_html/protected/controllers/WebController.php(228): CModule->__get("db")
223         public function actionAllZakat($isAjax = false)
224         {
225             if ($isAjax) {
226                 $this->render('_all_zakat');
227             } else {
228                 $data['kategori'] = Yii::app()->db->createCommand('
229                 SELECT
230                     *
231                 FROM
232                     tblkategoriprogram')->queryAll();
233 
#14
+
 /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 02:41:56 LiteSpeed Yii Framework/1.1.15