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