CHttpException

Страница не найдена

/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/marvarid/components/system/System.php(58)

46     public static function siteNotFound() {
47         throw new CHttpException(501);
48     }
49 
50     /**
51      * Throws internal system's exceptions such as out of bound, file deletion error.
52      * Uses user friendly error message.
53      * @param string $text
54      * @param string $class
55      * @throws Exception
56      */
57     public static function pageNotFound($msg = '') {
58         throw new CHttpException(404, static::errorMsg($msg));
59     }
60 
61     /**
62      * Same as error(), but throws database exceptions
63      * @param string $text
64      */
65     public static function paymentRequired() {
66         throw new CHttpException(402);
67     }
68 
69     public static function temporarilyClosed() {
70         throw new CHttpException(423);

Stack Trace

#0
+
 /var/www/ulkan/vhost/ulkansayt.uz/protected/modules/news/controllers/NewsController.php(44): System::pageNotFound()
39             'params' => array(':slug' => $slug, ':lang' => $lang)
40         );
41         $model = current(NewsModel::model()->site()->published()->findAll($condition));
42 
43         if ($model === false) {
44             System::pageNotFound();
45         }
46 
47         $seo = SeoModel::model()->findByPage($model->id, 'news');
48         if(!empty($seo))
49         {
#10
+
 /var/www/ulkan/vhost/ulkansayt.uz/public/index.php(41): CApplication->run()
36 $confManager = new yupe\components\ConfigManager();
37 $confManager->sentEnv(\yupe\components\ConfigManager::ENV_WEB);
38 
39 require ROOT_DIR . '/vendor/autoload.php';
40 
41 Yii::createApplication('WebApplication', $confManager->merge($base))->run();
42 
2024-03-29 00:35:18 Apache Yii Framework/1.1.23