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/ProductController.php(50): System::pageNotFound()
45             'params'    => array(':slug' => $name, ':lang' => Yii::app()->urlManager->getCurrentLang())
46         );
47 
48         $product = current(Product::model()->site()->with('product_multilingual')->published()->findAll($condition));
49         if ($product == null) {
50             System::pageNotFound();
51         }
52 
53         $all_variants = $product->getAllVariants();
54         if(Yii::app()->request->isAjaxRequest)
55         {
#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 19:33:04 Apache Yii Framework/1.1.23