CHttpException

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

/home/w/webarena8a/krymskiy-bereg.ru/public_html/protected/components/ModuleUserController.php(140)

128                 }
129             }
130             else{
131                 $model = new $this->modelName;
132                 if($resetScope){
133                     $this->_model=$model->resetScope()->findByPk($id);
134                 }else{
135                     $this->_model=$model->findByPk($id);
136                 }
137             }
138 
139             if($this->_model===null){
140                 throw new CHttpException(404,tc('The requested page does not exist.'));
141             }
142         }
143         return $this->_model;
144     }
145 
146     public function loadModelWith($with) {
147         if($this->_model===null) {
148             if(isset($_GET['id'])) {
149                 $model = new $this->modelName;
150                 $this->_model = $model->with($with)->findByPk($_GET['id']); //findByPk($_GET['id']);
151             }
152             if($this->_model===null){

Stack Trace

#0
+
 /home/w/webarena8a/krymskiy-bereg.ru/public_html/protected/modules/infopages/controllers/MainController.php(79): ModuleUserController->loadModel("3", 1)
74             }
75             $this->setSeo($seo);
76             $id = $seo->model_id;
77         }
78 
79         $model = $this->loadModel($id, 1);
80 
81         // избавляемся от дублей
82         $modelUrl = $model->getUrl(false);
83 
84         if(issetModule('seo') && strpos(Yii::app()->request->url, $modelUrl) !== 0){
#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 15:27:53 Apache/2.4.55 (Unix) Yii Framework/1.1.17