yii 生成crud代码后执行报错 [ 未指定版本 ]
<h1>PHP warning</h1><p>require() [<a href='function.require'>function.require</a>]: Filename cannot be empty</p><p>D:\xampp\htdocs\yii\framework\web\CBaseController.php(130)</p><p><br /></p><p><pre>if(is_array($_data_))
<span class="ln">119</span> extract($_data_,EXTR_PREFIX_SAME,'data');
<span class="ln">120</span> else
<span class="ln">121</span> $data=$_data_;
<span class="ln">122</span> if($_return_)
<span class="ln">123</span> {
<span class="ln">124</span> ob_start();
<span class="ln">125</span> ob_implicit_flush(false);
<span class="ln">126</span> require($_viewFile_);
<span class="ln">127</span> return ob_get_clean();
<span class="ln">128</span> }
<span class="ln">129</span> else
<span class="error"><span class="ln error-ln">130</span> require($_viewFile_);
</span><span class="ln">131</span> }</pre><br /></p>
共 3 个回答
46595514@qq.com
注册时间:2013-09-09
最后登录:2013-09-10
在线时长:0小时0分
最后登录:2013-09-10
在线时长:0小时0分
- 粉丝0
- 金钱0
- 威望0
- 积分0