CException

Danh_mucController không tìm được view: "index".

/home/maymoc12nv/public_html/common/lib/yii-1.1.14.f0fee9/framework/web/CController.php(878)

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

Stack Trace

#1
+
 /home/maymoc12nv/public_html/frontend/controllers/Danh_mucController.php(47): CController->render("index", array())
42      * This is the action to handle external exceptions.
43      */
44 
45     public function actionIndex()
46     {
47         $this->render('index', array());
48     }
49 
50     public function actionView($id)
51     {
52 
#12
+
 /home/maymoc12nv/public_html/common/components/WebApplication.php(34): CWebApplication->runController("danh_muc")
29      * that Apache polls its processes to see if they're alive. This function causes
30      * Yii to respond without logging errors.
31      */
32     public function runController($route) {
33         try {
34             parent::runController($route);
35         } catch (CHttpException $e) {
36             if (@$_SERVER['REQUEST_METHOD'] == 'OPTIONS' && @$_SERVER['REQUEST_URI'] == '*') {
37                 Yii::app()->end('Hello, friend!');
38             } else
39                 throw $e;
#15
+
 /home/maymoc12nv/public_html/index.php(22): CApplication->run()
17 
18 require_once($yii);
19 require_once($rootDir.'/common/components/WebApplication.php');
20 $app = Yii::createApplication('WebApplication', require($config));
21 
22 $app->run();
2024-03-28 15:22:34 LiteSpeed Yii Framework/1.1.14