CException

NewsController không tìm được view: "tag".

/home/igitech/domains/igitech.vn/public_html/common/lib/yii-framework-1.1.15/yii.php(3831)

3819     {
3820         if(($viewFile=$this->getViewFile($view))!==false)
3821         {
3822             $output=$this->renderFile($viewFile,$data,true);
3823             if($processOutput)
3824                 $output=$this->processOutput($output);
3825             if($return)
3826                 return $output;
3827             else
3828                 echo $output;
3829         }
3830         else
3831             throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".',
3832                 array('{controller}'=>get_class($this), '{view}'=>$view)));
3833     }
3834     public function renderClip($name,$params=array(),$return=false)
3835     {
3836         $text=isset($this->clips[$name]) ? strtr($this->clips[$name], $params) : '';
3837         if($return)
3838             return $text;
3839         else
3840             echo $text;
3841     }
3842     public function renderDynamic($callback)
3843     {

Stack Trace

#1
+
 /home/igitech/domains/igitech.vn/public_html/protected/controllers/NewsController.php(114): CController->render("tag", array("model" => NewsPager, "labelPage" => "Trang 1/0", "hiddenPager" => " hidden "))
109 
110         $this->render('tag', array(
111             'model' => $model,
112             'labelPage' => $labelPage,
113             'hiddenPager' => $hiddenPager
114         ));
115     }
116 
117     public function actionSearch($s,$page='1') {
118         $pageSize = 12;
119         $labelPage = '';
#9
+
 /home/igitech/domains/igitech.vn/public_html/common/components/WebApplication.php(15): CWebApplication->runController("news/tag")
10         }
11     }
12 
13     public function runController($route) {
14         try {
15             parent::runController($route);
16         } catch (CHttpException $e) {
17             if (@$_SERVER['REQUEST_METHOD'] == 'OPTIONS' && @$_SERVER['REQUEST_URI'] == '*') {
18                 Yii::app()->end('Hello, friend!');
19             } else
20                 throw $e;
#12
+
 /home/igitech/domains/igitech.vn/public_html/index.php(29): CApplication->run()
24 require_once('common/lib/global.php');
25 require_once('protected/components/PublicWebApplication.php');
26 
27 $config = dirname(__FILE__) . '/protected/config/main.php';
28 $app = Yii::createApplication('PublicWebApplication', $config);
29 $app->run();
2024-03-29 14:34:07 Apache/2 Yii Framework/1.1.15