CException

InquiryController cannot find the requested view "basket".

/srv/http/yii/web/CController.php(879)

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

Stack Trace

#1
+
 /srv/http/virtual/protected/controllers/InquiryController.php(273): CController->render("basket", array("basket" => ""))
268         //添加页面上的title等信息
269         $this->setPageMeta('211');
270         $this->msgfrom = 71; //询盘来源
271         $this->render('basket', array(
272             'basket' => $basket,
273         ));
274     }
275 
276     //询盘上传文件
277     public function actionuploadAttach() {
278         if(isset($_FILES['Inquiry']) && !empty($_FILES['Inquiry'])){
#9
+
 /srv/http/virtual/www.brandopneumatic.com/htdocs/index.php(82): CApplication->run()
77 
78 // remove the following line when in production mode
79 defined('YII_DEBUG') or define('YII_DEBUG',true);
80 
81 require_once($yii);
82 Yii::createWebApplication($config)->run();
2024-03-19 10:10:13 nginx/1.24.0 Yii Framework/1.1.12