CException

SeerahController cannot find the requested view "index".

/home/ckth1ectt0bn/public_html/framework/web/CController.php(881)

869     {
870         if(($viewFile=$this->getViewFile($view))!==false)
871         {
872             $output=$this->renderFile($viewFile,$data,true);
873             if($processOutput)
874                 $output=$this->processOutput($output);
875             if($return)
876                 return $output;
877             else
878                 echo $output;
879         }
880         else
881             throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".',
882                 array('{controller}'=>get_class($this), '{view}'=>$view)));
883     }
884 
885     /**
886      * Renders a named clip with the supplied parameters.
887      * This is similar to directly accessing the {@link clips} property.
888      * The main difference is that it can take an array of named parameters
889      * which will replace the corresponding placeholders in the clip.
890      * @param string $name the name of the clip
891      * @param array $params an array of named parameters (name=>value) that should replace
892      * their corresponding placeholders in the clip
893      * @param boolean $return whether to return the clip content or echo it.

Stack Trace

#1
+
 /home/ckth1ectt0bn/public_html/protected/controllers/SeerahController.php(20): CController->render("index", array("data" => Pages))
15      * when an action is not explicitly requested by users.
16      */
17     public function actionIndex()
18     { 
19         $data = Pages::model()->find('id=:id',array(':id'=>5));
20         $this->render('index',array('data'=>$data));
21     }
22 
23 
24     /**
25      * This is the action to handle external exceptions.
#9
+
 /home/ckth1ectt0bn/public_html/index.php(12): CApplication->run()
07 defined('YII_DEBUG') or define('YII_DEBUG',true);
08 // specify how many levels of call stack should be shown in each log message
09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
10 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2024-03-28 22:38:27 Apache Yii Framework/1.1.19