CHttpException

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

/home/w/webarena8a/krymskiy-bereg.ru/public_html/protected/helpers/common.php(217)

205     CVarDumper::dump($mVal, 10, true);
206     echo '</pre>';
207 }
208 
209 function logs($mVal) {
210     $file = fopen(ROOT_PATH . '/uploads/logs.txt', 'a+');
211     $sLogs = date("d.m.y H:i : ") . var_export($mVal, true) . "\n";
212     fwrite($file, $sLogs);
213     fclose($file);
214 }
215 
216 function throw404() {
217     throw new CHttpException(404, tc('The requested page does not exist.'));
218 }
219 
220 function showMessage($messageTitle, $messageText, $breadcrumb = '', $isEnd = true) {
221     Yii::app()->controller->render('//site/message', array('breadcrumb' => $breadcrumb,
222         'messageTitle' => $messageTitle,
223         'messageText' => $messageText));
224 
225     if ($isEnd) {
226         Yii::app()->end();
227     }
228 }
229 

Stack Trace

#0
+
 /home/w/webarena8a/krymskiy-bereg.ru/public_html/protected/modules/infopages/controllers/MainController.php(98): throw404()
093             else
094                 $this->redirect($modelUrl, true, 301);
095         }
096 
097         if (!$model->active)
098             throw404();
099 
100         if($model->id == 4) { //User Agreement
101             $field = 'body_'.Yii::app()->language;
102             $model->$field = str_replace('{site_domain}', IdnaConvert::checkDecode(Yii::app()->getBaseUrl(true)), $model->$field);
103             $model->$field = str_replace('{site_title}', CHtml::encode(Yii::app()->name), $model->$field);
#19
+
 /home/w/webarena8a/krymskiy-bereg.ru/public_html/index.php(23): CApplication->run()
18 
19 define('ALREADY_INSTALL_FILE', ROOT_PATH . DIRECTORY_SEPARATOR . 'protected' . DIRECTORY_SEPARATOR
20                                 . 'runtime' . DIRECTORY_SEPARATOR . 'already_install');
21 
22 require_once($yii);
23 Yii::createWebApplication($config)->run();
2024-03-28 13:31:22 Apache/2.4.55 (Unix) Yii Framework/1.1.17