CHttpException

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

/home/w/webarena3/krim-dom82.ru/public_html/protected/helpers/common.php(303)

291         echo '</pre>';
292     }
293 }
294 
295 function logs($mVal) {
296     $file = fopen(ROOT_PATH . '/uploads/logs.txt', 'a+');
297     $sLogs = date("d.m.y H:i : ") . var_export($mVal, true) . "\n";
298     fwrite($file, $sLogs);
299     fclose($file);
300 }
301 
302 function throw404() {
303     throw new CHttpException(404, tc('The requested page does not exist.'));
304 }
305 
306 function showMessage($messageTitle, $messageText, $breadcrumb = '', $isEnd = true) {
307     Yii::app()->controller->render('//site/message', array('breadcrumb' => $breadcrumb,
308         'messageTitle' => $messageTitle,
309         'messageText' => $messageText));
310 
311     if ($isEnd) {
312         Yii::app()->end();
313     }
314 }
315 

Stack Trace

#0
+
 /home/w/webarena3/krim-dom82.ru/public_html/protected/modules/apartments/controllers/MainController.php(111): throw404()
106         }
107 
108         if( $apartment->owner_id != 1 && $apartment->owner_active == Apartment::STATUS_INACTIVE) {
109             if (!(isset(Yii::app()->user->id ) && $apartment->isOwner()) && !Yii::app()->user->checkAccess('backend_access')) {
110                 Yii::app()->user->setFlash('notice', tt('apartments_main_index_propertyNotAvailable', 'apartments'));
111                 throw404();
112             }
113         }
114 
115         if(($apartment->active == Apartment::STATUS_INACTIVE || $apartment->active == Apartment::STATUS_MODERATION)
116         && !Yii::app()->user->checkAccess('backend_access')
#19
+
 /home/w/webarena3/krim-dom82.ru/public_html/index.php(21): CApplication->run()
16 
17 define('ALREADY_INSTALL_FILE', ROOT_PATH . DIRECTORY_SEPARATOR . 'protected' . DIRECTORY_SEPARATOR
18                                 . 'runtime' . DIRECTORY_SEPARATOR . 'already_install');
19 
20 require_once($yii);
21 Yii::createWebApplication($config)->run();
2024-03-19 06:42:39 Apache/2.4.55 (Unix) Yii Framework/1.1.17