Error

Beschreibung

Undefined constant "r"

Quelldatei

/mnt/web512/b3/76/52292676/htdocs/flights/protected/controllers/SiteController.php(128)

00116:     /**
00117:      * Logs out the current user and redirect to homepage.
00118:      */
00119:     public function actionLogout()
00120:     {
00121:         Yii::app()->user->logout();
00122:         $this->redirect(Yii::app()->homeUrl);
00123:     }
00124:     
00125:     
00126:     public function actionIndex($request=array()) {
00127:         
00128: if (strpos($_GET[r],'hotels')) {
00129: include dirname(__FILE__).'/hotelController.php'; 00130: 00131: $model = new CHotelController; 00132: $this->model = $model; 00133: if (isset($_GET[ziel]) and $_GET[einreise] != '' and $_GET[ausreise] != '') { 00134: $this->hdata = $model->run($this); 00135: } 00136: $this->render('hotels'); 00137: return true; 00138: } else { 00139: include dirname(__FILE__).'/DataController.php'; 00140:

Verfolgung des Aufrufstapels

#0 [internal function]: SiteController->actionIndex()
#1 /mnt/web512/b3/76/52292676/htdocs/yii/framework/web/actions/CInlineAction.php(47): ReflectionMethod->invokeArgs()
#2 /mnt/web512/b3/76/52292676/htdocs/yii/framework/web/CController.php(300): CInlineAction->run()
#3 /mnt/web512/b3/76/52292676/htdocs/yii/framework/web/CController.php(278): CController->runAction()
#4 /mnt/web512/b3/76/52292676/htdocs/yii/framework/web/CController.php(257): CController->runActionWithFilters()
#5 /mnt/web512/b3/76/52292676/htdocs/yii/framework/web/CWebApplication.php(324): CController->run()
#6 /mnt/web512/b3/76/52292676/htdocs/yii/framework/web/CWebApplication.php(121): CWebApplication->runController()
#7 /mnt/web512/b3/76/52292676/htdocs/yii/framework/base/CApplication.php(135): CWebApplication->processRequest()
#8 /mnt/web512/b3/76/52292676/htdocs/flights/index.php(13): CApplication->run()
#9 {main}
29.03.2024 07:46:48 Apache/2.4.58 (Unix) Yii Framework/1.1.4