CHttpException

Запрашиваемая Вами страница не существует.

/var/www/bazametrov/data/www/bazametrov.ru/protected/helpers/common.php(274)

262 }
263 
264 function logs($mVal)
265 {
266     $file = fopen(ROOT_PATH . '/uploads/logs.txt', 'a+');
267     $sLogs = date("d.m.y H:i : ") . var_export($mVal, true) . "\n";
268     fwrite($file, $sLogs);
269     fclose($file);
270 }
271 
272 function throw404()
273 {
274     throw new CHttpException(404, tc('The requested page does not exist.'));
275 }
276 
277 function showMessage($messageTitle, $messageText, $breadcrumb = '', $isEnd = true)
278 {
279     Yii::app()->controller->render('//site/message', ['breadcrumb' => $breadcrumb,
280         'messageTitle' => $messageTitle,
281         'messageText' => $messageText]);
282 
283     if ($isEnd) {
284         Yii::app()->end();
285     }
286 }

Stack Trace

#0
+
 /var/www/bazametrov/data/www/bazametrov.ru/protected/modules/infopages/controllers/MainController.php(53): throw404()
48           $url='metro-office'; 
49         }
50         if($url && issetModule('seo')){
51             $seo = SeoFriendlyUrl::getForView($url, $this->modelName);
52             if(!$seo){
53                 throw404();
54             }
55             $this->setSeo($seo);
56             $id = $seo->model_id;
57         }
58         
#17
+
 /var/www/bazametrov/data/www/bazametrov.ru/index.php(166): CApplication->run()
161     return $md->isMobile();
162 }
163 
164 require_once($yii);
165 
166 Yii::createWebApplication($config)->run();
2024-03-19 08:56:23 Apache/2.4.7 (Ubuntu) Yii Framework/1.1.21