I have worked on DZ forum development to check the reason. after the forum is uploaded, the following prompt is displayed after installation and running: Warning: require (. sourceclassclass_core.php) [function. require]: failedtoopenstream: NosuchfileordirectoryinE: bbs.cctcct.com have been developed on the DZ Forum. why?
After the forum is uploaded, the following prompt is displayed after installation and running:
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
But I'm sure this file is in,
If you change "./" to dirname (_ FILE _), the problem will be solved. Is it a server permission problem ??
------ Solution --------------------
It is possible to change the permission.
------ Solution --------------------
The semantics of./is not as clear as dirname (_ FILE. Or an absolute address. The absolute address is better than the relative address.