failed to open stream: No such file or directory in
程序员文章站
2022-05-08 17:56:33
...
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
教程地址:
欢迎转载!但请带上文章地址^^
推荐阅读
-
php错误提示failed to open stream: HTTP request failed!的完美解决方法
-
java.io.FileNotFoundException:/x/x/x/xx.xls:open failed: ENOENT (No such file or directory)
-
move_uploaded_file的failed to open stream错误处理
-
linux系统安装VMware(详细解决"Cannot open /dev/vmmon: No such file or directory"问题)
-
VMWare 15 Error on Ubuntu 18.4 - Could not open /dev/vmmon: No such file or directory
-
can't open /dev/ttys0: No such file or directory
-
mdadm: cannot open /dev/sdb: No such file or directory
-
Django报错:python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory
-
python: can‘t open file ‘sqlmap.py‘: [Errno 2] No such file or directory
-
Python open: FileNotFoundError: [Errno 2] No such file or directory