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/store/controllers/VendorController.php(21): System::pageNotFound()
16     }
17 
18     public function actionView($slug) {
19         $brand = Vendor::model()->site()->findByAttributes(['slug' => $slug]);
20         if ($brand == null) {
21             System::pageNotFound();
22         }
23 
24         $criteria = new SiteDbCriteria();
25         $criteria->compare('vendor_id', $brand->id);
26         $criteria->with = ['product_multilingual'];
#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-28 15:34:37 Apache Yii Framework/1.1.23