CException

ArticleController 无法找到请求的视图 "".

/www/wwwroot/hnhcp.com/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
+
 /www/wwwroot/hnhcp.com/protected/controllers/ArticleController.php(108): CController->render(null, array("model" => null))
103  if($this->cate->viewtpl=="view"){
104             $tpl="view";
105         }else{
106             $tpl=$this->cate->viewtpl;
107         }
108         $this->render($tpl, $data);
109     }
110     public function actionSearch() {
111         $key = CHtml::encode($_POST['q']);
112         $criteria = new CDbCriteria(array(
113             'order' => 'id desc',
#9
+
 /www/wwwroot/hnhcp.com/common.php(14): CApplication->run()
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 5);
11 require_once($yii);
12 $app = Yii::createWebApplication($config);
13 require_once($globals);
14 $app->run();
#10
+
 /www/wwwroot/hnhcp.com/index.php(14): require_once("/www/wwwroot/hnhcp.com/common.php")
09 }else{
10     $config=dirname(__FILE__).'/protected/config/main.php';
11 }
12 
13 $globals = dirname(__FILE__) . '/protected/globals.php';
14 require_once('./common.php');
2024-03-28 20:13:00 nginx/1.14.1 Yii Framework/1.1.16-dev