CHttpException

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

/home/w/webarena3/kamil-krim.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/webarena3/kamil-krim.ru/public_html/protected/modules/infopages/controllers/MainController.php(104): throw404()
099             else
100                 $this->redirect($modelUrl, true, 301);
101         }
102 
103         if (!$model->active)
104             throw404();
105 
106         if($model->id == 4) { //User Agreement
107             $field = 'body_'.Yii::app()->language;
108             $model->$field = str_replace('{site_domain}', IdnaConvert::checkDecode(Yii::app()->getBaseUrl(true)), $model->$field);
109             $model->$field = str_replace('{site_title}', CHtml::encode(Yii::app()->name), $model->$field);
#19
+
 /home/w/webarena3/kamil-krim.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-19 06:22:39 Apache/2.4.55 (Unix) Yii Framework/1.1.17