Maison >développement back-end >tutoriel php >php 错误分析
<code>Warning: require_once(F:\wwwroot\yc/Smarty/Mongo.class.php): failed to open stream: No such file or directory in F:\wwwroot\yc\libs\info.class.php on line 4 Fatal error: require_once(): Failed opening required 'F:\wwwroot\yc/Smarty/Mongo.class.php' (include_path='.;C:\php\pear') in F:\wwwroot\yc\libs\info.class.php on line 4 </code>
这个问题已被关闭,原因:
<code>Warning: require_once(F:\wwwroot\yc/Smarty/Mongo.class.php): failed to open stream: No such file or directory in F:\wwwroot\yc\libs\info.class.php on line 4 Fatal error: require_once(): Failed opening required 'F:\wwwroot\yc/Smarty/Mongo.class.php' (include_path='.;C:\php\pear') in F:\wwwroot\yc\libs\info.class.php on line 4 </code>
个人意见:凡是遇到错误,先理解一下错误提示是什么意思
这段错误的意思是 info.class.php 的第四行 require_once函数调用失败, 因为没有找到F:\wwwroot\yc/Smarty/Mongo.class.php
这不就很明显吗,找不到文件,睁眼瞎子一样,看也不看。
另外,还在用smarty? 这个真的不应该用
请自行谷歌翻译 No such file or directory