CException

ProductController 无法找到请求的视图 "showfaq".

/usr/local/apache24_nfkyweb/htdocs/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
+
 /usr/local/apache24_nfkyweb/htdocs/protected/controllers/ProductController.php(288): CController->render("showfaq", array("model" => columncate, "columncates" => array(columncate, columncate, columncate, columncate, ...), "pages" => CPagination, "news" => product, ...))
283             $this->banner=$news->banner;
284         }
285         $this->render('showfaq',array(
286             'model'=>$model,'columncates'=>$columncates,'pages'=>$pages,
287             'news'=>$news,'allnews'=>$allnews,'demo'=>$demo
288         ));
289     }
290     
291     
292     
293     public function loadnews($id=null)
#9
+
 /usr/local/apache24_nfkyweb/htdocs/index.php(40): CApplication->run()
35 $yii=dirname(__FILE__).'/framework/yii.php';
36 $config=dirname(__FILE__).'/protected/config/main.php';
37 defined('YII_DEBUG') or define('YII_DEBUG',true);
38 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
39 require_once($yii);
40 Yii::createWebApplication($config)->run();
41 
42 ?>
2020-01-24 15:49:11 Apache/2.4.10 (Unix) PHP/5.6.4 Yii Framework/1.1.13
})();