CHttpException

Halaman tidak ditemukan, mungkin halaman yang dituju telah dihapus.

/var/www/html/protected/controllers/BeritaController.php(124)

112                     ]
113                 );
114             } else {
115                 Yii::app()->db->createCommand()->insert('meta_options', [
116                     'name' => $news->id,
117                     'attr_info' => 'news',
118                     'attr_value' => 1
119                 ]);
120             }
121 
122             $this->render('/default/v2_news_category_detail', ['page' => $news]);
123         } else {
124             throw new CHttpException(404, 'Halaman tidak ditemukan, mungkin halaman yang dituju telah dihapus.');
125         }
126     }
127 
128     private function _curl_get($url, $params){
129 
130         $ch = curl_init(); 
131         curl_setopt($ch, CURLOPT_URL, $url .'?'. $params);
132         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
133         
134         $output = curl_exec($ch); 
135         curl_close($ch);      
136         

Stack Trace

#0
+
 /var/www/html/protected/controllers/BeritaController.php(54): BeritaController->_post("pemerintah-kota-cimahi-menerbitkan-peraturan-walikota-kota-cimah...")
49         
50         if(!empty($pagesx[0]) && $pagesx[0] == 'cimahi'){
51             $this->_cimahi($pagesx[1]);
52         }
53         else{
54             $this->_post($pages);
55         }
56     }
57 
58     private function _cimahi($id){
59 
#13
+
 /var/www/html/public/index.php(14): CApplication->run()
09 // error_reporting('E_ALL');
10 // specify how many levels of call stack should be shown in each log message
11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
12 require_once($yii);
13 require_once(dirname(__FILE__).'/../helpers/global.php');
14 Yii::createWebApplication($config)->run();
2024-03-28 08:21:43 Apache/2.4.51 (Debian) Yii Framework/1.1.20