Home >Backend Development >PHP Tutorial >PHP 报错,无法打开文件

PHP 报错,无法打开文件

WBOY
WBOYOriginal
2016-06-23 13:49:481361browse


Warning: include() [function.include]: Failed opening '/data/webserver/sites/diyiwuxian/lib/Auth.php' for inclusion (include_path='.:/data/webserver/php/lib/php') in /data/webserver/sites/ht/include/inc.php on line 16

Fatal error: Class 'Auth' not found in /data/webserver/sites/ht/gmcontrollers/PhoneController.php on line 2


回复讨论(解决方案)

路径写错了???

路径写错了???


路径对了,文件也在,我也把FTP里的文件全改成777权限了

路径都是绝对路径,怎么可能是对的呢?

路径都是绝对路径,怎么可能是对的呢?


找到问题了,改下路径就对了,结贴
Statement:
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
Previous article:布尔运算符Next article:php执行shell脚本问题