Home > Backend Development > PHP Tutorial > Solution: failed to open stream: No such file or directory in_PHP tutorial

Solution: failed to open stream: No such file or directory in_PHP tutorial

WBOY
Release: 2016-07-13 10:57:41
Original
14894 people have browsed it

This tutorial will introduce to you the solution to failed to open stream: No such file or directory in. Friends who need to know more can enter it for reference.

Warning: include_once(./include/main.inc.php) [function.include-once]: failed to open stream: failed to open stream: No such file or directory in

Fatal error: main(): Failed opening required './Config.php' (include_path='.;c:php4pear') in D:wwwrootCoreConfig.php on line 13


This problem occurs because the path of our inlcude is wrong. As long as we change the path, it will be fine.

Fatal error: main(): Failed opening required './Config.php' (include_path='.;c:php4pear') in D:wwwrootCoreConfig.php on line 13

Description of shopex host problem

Warning:
require(/core/include_v5/adminCore.php) [function.require]: failed to open stream:
No such file or directory in D:wwwrootbeisososhopadminindex.php on line 13
Fatal error:
require() [function.require]:
Failed opening required "/core/include_v5/adminCore.php" (include_path=".;C:php5pear")


3. shopex hosting solution

Give D: and D:wwwroot a readable permission for everyone. Just add permissions to these two locations. Do not attach them to the next-level directory!
The command is as follows:
cacls d: /e /g everyone:r
cacls d:wwwroot /e /g everyone:r

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632082.htmlTechArticleThis tutorial will introduce to you the solution to failed to open stream: No such file or directory in, if you need to know more Friends can enter for reference. Warning: include_once(./include/main.in...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template