CException

SubjectController cannot find the requested view "0".

/wwwroot/website/i.xpaper.net/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

#0
+
 /wwwroot/website/i.xpaper.net/protected/controllers/SubjectController.php(326): CController->renderPartial("0", array("posts" => array(), "pages" => CPagination, "base_rs" => SiteBase, "release_rs" => Release, ...))
321                             file_put_contents("./shtml/{$base_rs->dirname}/subject/{$subject_id}/{$release_id}-{$page}.shtml",$shtml);
322                             $touch_time = time()+ SUBJECT_INDEX_SHTML;
323                             touch("./shtml/{$base_rs->dirname}/subject/{$subject_id}/{$release_id}-{$page}.shtml",$touch_time);
324                             echo $shtml;
325                     }else{
326                             $this->renderPartial($views,$array);
327                     }
328                 }
329 
330     
331     }
#11
+
 /wwwroot/website/i.xpaper.net/index.php(15): CApplication->run()
10 defined('YII_DEBUG') or define('YII_DEBUG',true);//调试定为 true   上线改成 false
11 // specify how many levels of call stack should be shown in each log message
12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
13 
14 require_once($yii);
15 Yii::createWebApplication($config)->run();
2024-03-28 21:46:37 Apache Yii Framework/1.1.13