CHttpException

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

/var/www/clients/client2/web3/web/protected/components/ModuleUserController.php(158)

146                     }
147                 }
148             } else {
149                 $model = new $this->modelName;
150                 if ($resetScope) {
151                     $this->_model = $model->resetScope()->findByPk($id);
152                 } else {
153                     $this->_model = $model->findByPk($id);
154                 }
155             }
156 
157             if ($this->_model === null) {
158                 throw new CHttpException(404, tc('The requested page does not exist.'));
159             }
160         }
161         return $this->_model;
162     }
163 
164     public function loadModelWith($with)
165     {
166         if ($this->_model === null) {
167             if (isset($_GET['id'])) {
168                 $model = new $this->modelName;
169                 $this->_model = $model->with($with)->findByPk($_GET['id']); //findByPk($_GET['id']);
170             }

Stack Trace

#0
+
 /var/www/clients/client2/web3/web/protected/modules/users/controllers/MainController.php(175): ModuleUserController->loadModel()
170         ));
171     }
172 
173     public function actionView($id = 0, $url = '')
174     {
175         $model = $this->loadModel($id);
176         $renderData = HUser::getDataForListings($id);
177         $renderData['model'] = $model;
178 
179         if (Yii::app()->request->isAjaxRequest) {
180             $this->renderPartial('view', $renderData);
#19
+
 /var/www/clients/client2/web3/web/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-29 05:46:08 Apache Yii Framework/1.1.22