Ask the DZ Forum developer to see why.

Source: Internet
Author: User
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.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.