CHttpException

The requested page does not exist.

/home/fedphoneline/public_html/protected/controllers/front/SiteController.php(496)

484         
485         $this->render('site/facility_visitation_information', 
486                         array(
487                               'setting' => $this->setting,
488                               'model'    => $model  
489                         ));
490     }
491     
492     public function actionFvi_detail($slug)
493     {
494         $model  = Correctional::model()->findByAttributes( array('slug'=>$slug, 'status'=>1) );
495         if($model===null)
496             throw new CHttpException(404,'The requested page does not exist.');
497                 
498         if($this->lang_pref=='_FR') {
499           $this->pageTitle  = $model->site_title_FR;
500           Yii::app()->clientScript->registerMetaTag( $model->site_description_FR, 'description' );
501           Yii::app()->clientScript->registerMetaTag( $model->site_keyword_FR, 'keywords' );
502         }
503         else {
504           $this->pageTitle  = $model->site_title;
505           Yii::app()->clientScript->registerMetaTag( $model->site_description, 'description' );
506           Yii::app()->clientScript->registerMetaTag( $model->site_keyword, 'keywords' );
507         }
508         

Stack Trace

#14
+
 /home/fedphoneline/public_html/protected/components/WebApplicationEndBehavior.php(26): CApplication->run()
21         // Attach the changeModulePaths event handler
22         // and raise it.
23         $this->onModuleCreate = array($this, 'changeModulePaths');
24         $this->onModuleCreate(new CEvent($this->owner));
25 
26         $this->owner->run(); // Run application.
27     }
28 
29     // This event should be raised when CWebApplication
30     // or CWebModule instances are being initialized.
31     public function onModuleCreate($event)
#16
+
 /home/fedphoneline/public_html/index.php(16): CComponent->__call("runEnd", array("front"))
11 defined('YII_DEBUG') or define('YII_DEBUG',true);
12 // specify how many levels of call stack should be shown in each log message
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
14 
15 require_once($yii);
16 Yii::createWebApplication($config)->runEnd('front');
17 
2024-03-29 04:31:51 LiteSpeed Yii Framework/1.1.17