CException

SortController cannot find the requested view "".

/www/users/HA95832/WEB/framework/web/CController.php(875)

863     {

864         if(($viewFile=$this->getViewFile($view))!==false)

865         {

866             $output=$this->renderFile($viewFile,$data,true);

867             if($processOutput)

868                 $output=$this->processOutput($output);

869             if($return)

870                 return $output;

871             else

872                 echo $output;

873         }

874         else

875             throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".',

876                 array('{controller}'=>get_class($this), '{view}'=>$view)));

877     }

878 

879     /**

880      * Renders dynamic content returned by the specified callback.

881      * This method is used together with {@link COutputCache}. Dynamic contents

882      * will always show as their latest state even if the content surrounding them is being cached.

883      * This is especially useful when caching pages that are mostly static but contain some small

884      * dynamic regions, such as username or current time.

885      * We can use this method to render these dynamic regions to ensure they are always up-to-date.

886      *

887      * The first parameter to this method should be a valid PHP callback, while the rest parameters

Stack Trace

#0
+
 /www/users/HA95832/WEB/www/protected/controllers/SortController.php(12): CController->renderPartial(null, array("info" => array("meta_title" => null)))
07         if(!is_numeric($id) || empty($id)){

08             $this->newComClass('message')->Execute('参数有误!',Yii::app()->request->getHostInfo());

09         }

10         $info=NewsSortModel::model()->findByPk($id);

11         $info['meta_title']=$info['meta_title']?$info['meta_title']:$info['SortName'];

12         $this->renderPartial($info['ShowStyle'],array('info'=>$info));

13     }

14     

15     public function actionSortList(){

16         $Filtr=new Filtr();

17         $id=$Filtr->data('num',Yii::app()->request->getQuery('id',0));

#8
+
 /www/users/HA95832/WEB/index.php(14): CApplication->run()
09  defined('YII_DEBUG') or define('YII_DEBUG',true);

10 

11 require_once($yii);

12 $app = Yii::createWebApplication($config);

13 

14 $app->run();

2016-06-02 12:04:51 Apache Yii Framework/1.1.7