PHP notice

Undefined index: HTTP_REFERER

/home/cierscon/public_html/protected/views/tblProfiles/index.php(4)

01 <?php
02 /* @var $this TblProfilesController */
03 /* @var $dataProvider CActiveDataProvider */
04 if("https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] != $_SERVER['HTTP_REFERER']){
05     $_SESSION['prevurl'] = $_SERVER['REQUEST_URI'];
06 }
07 
08 Yii::app()->clientScript->registerScript('search', "
09 $('.search-button').click(function(){
10     $('.search-form').toggle();
11     return false;
12 });
13 $('.search-form form').submit(function(){
14     $('#tbl-job-list-grid').yiiGridView('update', {
15         data: $(this).serialize()
16     });

Stack Trace

#4
+
 /home/cierscon/public_html/protected/controllers/TblProfilesController.php(486): CController->render("index", array("dataProvider" => TblProfiles, "model" => TblProfiles))
481         if(isset($_GET['TblProfiles']))
482             $model->attributes=$_GET['TblProfiles'];
483         $this->render('index',array(
484             'dataProvider'=>$model,
485             'model'=>$model,
486         ));
487     }
488     public function actionIndexdesig($desig)
489     {    
490         $model=new TblProfiles('search');
491         $model->unsetAttributes();  // clear any default values
#17
+
 /home/cierscon/public_html/index.php(29): CApplication->run()
24 Yii::app()->params['profcnt'] = count($conf);
25 
26     
27     
28 //Yii::createWebApplication($config)->run();
29 Yii::app()->run();
2024-03-29 00:49:57 Apache Yii Framework/1.1.15