PHP Error

require() [<a href='function.require'>function.require</a>]: Filename cannot be empty

/home/web_v2/libs/yii/web/CBaseController.php(118)

106      * @param boolean $_return_ whether the rendering result should be returned as a string
107      * @return string the rendering result. Null if the rendering result is not required.
108      */
109     public function renderInternal($_viewFile_, $_data_=null, $_return_=false) {
110         // we use special variable names here to avoid conflict when extracting data
111         if (is_array($_data_))
112             extract($_data_, EXTR_PREFIX_SAME, 'data');
113         else
114             $data=$_data_;
115         if ($_return_) {
116             ob_start();
117             ob_implicit_flush(false);
118             require($_viewFile_);
119             return ob_get_clean();
120         }
121         else
122             require($_viewFile_);
123     }
124 
125     /**
126      *
127      * @param type $data 
128      */
129     public function objectToArray($data) {
130         if (is_array($data)) {

Stack Trace

#2
+
 /home/web_v2/qudao_v3/protected/controllers/HotController.php(134): CBaseController->renderFile()
129         }
130 
131         //取得模板路径
132         $tempPathStr = Yii::getPathOfAlias("application") . '/../web/hot/templates/' . $data['hotinfo'][0]['dir'] . "/" . $data['hotinfo'][0]['tplname'];
133         $tempContent = realpath($tempPathStr);
134         $html = $this->renderFile($tempContent, $data, true);
135         echo $html;
136     }
137 
138     /**
139      * 专题聚合页
#10
+
 /home/web_v2/qudao_v3/web/index_master.php(87): CApplication->run()
82 $yii = "yii/yii.php";
83 
84 
85 //加载框架引导文件,创建并运行webApplication
86 require_once($yii);
87 Yii::createWebApplication($configfile)->run();
2016-08-23 10:15:03 nginx Yii Framework/1.1.7