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 (. /source/class/class_core.php) [function. require]: failedtoopenstream: Nosuchfileordirec. could you tell me why I have developed DZ forum?
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
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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service