CHttpException

Not found

/var/www/gzb.by/data/www/gzb.by/protected/components/FrontendController.php(257)

245 
246         if (!empty($path['item']) && count($path['breadcrumbs']) == count($pages)) {
247             if (!empty($path['breadcrumbs'])) {
248                 $this->setBreadcrumbs($path['breadcrumbs'], 'site/page');
249             }
250 
251             if (!empty($path['active_ids'])) {
252                 $this->setActiveIds($path['active_ids']);
253             }
254 
255             $this->getPage($path['item']['id']);
256         } else
257             throw new CHttpException(404, 'Not found');
258     }
259 
260     public function actions()
261     {
262         return array(
263             'captcha' => array(
264                 'class' => 'CCaptchaAction',
265                 'foreColor' => 0x119423
266             ),
267             'upload' => array(
268                 'class' => 'application.actions.backend.UploadAction',
269             ),

Stack Trace

#0
+
 /var/www/gzb.by/data/www/gzb.by/protected/controllers/frontend/SiteController.php(32): FrontendController->setPageForUrl("news/obnovlenie_cen")
27         ));
28     }
29     
30     public function actionPage($url)
31     {
32         $this->setPageForUrl($url);
33         $this->structure = Structure::model()->findByPk($this->page_id);
34 
35         $this->render('page',array());
36     }
37 
#10
+
 /var/www/gzb.by/data/www/gzb.by/index.php(7): CApplication->run()
2 // include Yii bootstrap file
3 defined('YII_DEBUG') or define('YII_DEBUG',true);
4 require_once(dirname(__FILE__).'/../framework/yii.php');
5 $config=dirname(__FILE__).'/protected/config/frontend.php';
6 // create a Web application instance and run
7 Yii::createWebApplication($config)->run();
8 ?>
2024-03-28 12:23:41 Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/5.4.16 Yii Framework/1.1.17