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(87): throw404()
82             }
83                 
84         }
85         
86         if (!$model->active)
87             throw404();
88 
89         if($model->id == 4) { //User Agreement
90             $field = 'body_'.Yii::app()->language;
91             $model->$field = str_replace('{site_domain}', IdnaConvert::checkDecode(Yii::app()->getBaseUrl(true)), $model->$field);
92             $model->$field = str_replace('{site_title}', CHtml::encode(Yii::app()->name), $model->$field);
#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 11:58:03 Apache/2.4.7 (Ubuntu) Yii Framework/1.1.21