CHttpException

The page can not be found.

/home/i/infome83/medkursynmo-rf.ru/app/apps/frontend/modules/events/controllers/EventsController.php(220)

208                 $modelElements->description = $this->addPhotogalery($modelElements->description);
209                 $modelElements->description = $this->addForm($modelElements->description);
210                 $modelElements->description = $this->addHtmlCode($modelElements->description);
211 
212                 $this->render('view', array(
213                     'modelElements' => $modelElements,
214                     'pages' => $pages,
215                     'module_id' => $settings->site_module_id,
216                     'user' => $this->getUser(),
217                 ));
218 
219             } else {
220                 throw new CHttpException(404, 'The page can not be found.');
221             }
222         }
223     }
224 
225     private function getUser()
226     {
227         $user = new EventsSubscription();
228         if (Yii::app()->request->isPostRequest && !empty($_POST['EventsSubscription'])) {
229             $user->attributes = Yii::app()->request->getPost('EventsSubscription');
230             if($user->save()) {
231                 Yii::app()->user->setFlash("successEventsSubscription", "Вы успешно подписаны на мероприятие");
232                 $this->sendEmailImmediate();

Stack Trace

#12
+
 /home/i/infome83/medkursynmo-rf.ru/public_html/index.php(10): CApplication->run()
05 
06 ini_set('error_reporting', E_ALL ^ E_NOTICE);
07 ini_set('display_errors', 1);
08 ini_set('display_startup_errors', 1);
09 
10 Yii::createWebApplication( __DIR__ . '/../app/config/frontend.php' )->run();
2024-03-29 00:53:33 Apache/2.4.55 (Unix) Yii Framework/1.1.18