CException

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

E:\www\utpure\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
+
 E:\www\utpure\protected\controllers\ProductController.php(270): CController->render("car")
265     {
266         $this -> setPageTitle('新车除甲醛套装 - '.Common::seo_title(19));
267         Yii::app()->clientScript->registerMetaTag(Common::seo_keywords(19), 'keywords');
268         Yii::app()->clientScript->registerMetaTag(Common::seo_description(19), 'description');
269 
270         $this -> render('car');
271     }
272 
273     //订单
274     public function actionOrder()
275     {
#9
+
 E:\www\utpure\index.php(94): CApplication->run()
89 // constant varchar import
90 require_once (dirname(__FILE__)).'/protected/config/constant.php';
91 
92 
93 require_once($yii);
94 Yii::createWebApplication($config)->run();
95 
96 
2024-03-28 18:45:22 Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02 Yii Framework/1.1.17