Home  >  Article  >  Backend Development  >  请教做过 DZ 论坛开发的进来看看这是什么原因

请教做过 DZ 论坛开发的进来看看这是什么原因

WBOY
WBOYOriginal
2016-06-13 13:16:58858browse

请问做过 DZ 论坛开发的进来看看这是什么原因
论坛上传上去后,安装运行后提示这个:


Warning: require(./source/class/class_core.php) [function.require]: failed to open stream: No such file or directory in E:\bbs.cctcct.com\wwwroot\admin.php on line 18

Fatal error: require() [function.require]: Failed opening required './source/class/class_core.php' (include_path='.;C:\php5\pear') in E:\bbs.cctcct.com\wwwroot\admin.php on line 18


但是我确定这个文件都在,

如果把 "./" 改成 dirname(__FILE__) 这个问题就解决, 请问是否是 服务器权限问题??




------解决方案--------------------
有可能,改改权限试试。
------解决方案--------------------
./的语义不如dirname(__FILE__)明确。或者是个绝对地址。用绝对地址好于相对地址

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