Home > Backend Development > PHP Tutorial > php 错误分析

php 错误分析

WBOY
Release: 2016-06-06 20:45:48
Original
1110 people have browsed it

<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>
Copy after login
Copy after login

这个问题已被关闭,原因:

回复内容:

<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>
Copy after login
Copy after login

个人意见:凡是遇到错误,先理解一下错误提示是什么意思
这段错误的意思是 info.class.php 的第四行 require_once函数调用失败, 因为没有找到F:\wwwroot\yc/Smarty/Mongo.class.php

这不就很明显吗,找不到文件,睁眼瞎子一样,看也不看。

另外,还在用smarty? 这个真的不应该用

请自行谷歌翻译 No such file or directory

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template