ホームページ >php教程 >php手册 >解决:failed to open stream: No such file or directory in

解决:failed to open stream: No such file or directory in

WBOY
WBOYオリジナル
2016-06-13 09:57:3112899ブラウズ

本教程来给各位同学介绍failed to open stream: No such file or directory in解决办法,有需要了解的朋友可进入参考。

 

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


出现这个的问题是因为我们inlcude的路径不对了,只要我们把路径改对就可以了。

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

shopex主机问题描述

 

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")


三、shopex主机解决方案

给D:和D:wwwroot 一个everyone可读权限,只在这两个位置加权限就可以了,不要附加到下一级目录!
命令如下:
cacls d: /e /g everyone:r
cacls d:wwwroot /e /g everyone:r

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。