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
作者: igoogler 发布时间: 2009-07-06
就这么给我们说,那只能告诉你自己找错起。。作者: zhenglm006 发布时间: 2009-07-06
想打开一个文件作者: igoogler 发布时间: 2009-07-06
你把 ./去掉试试捏作者: zhenglm006 发布时间: 2009-07-06
最好加个引号啥滴,手册上都加了。。作者: zhenglm006 发布时间: 2009-07-06
路径问题。多尝试几下嘛作者: lukui306 发布时间: 2009-07-06
zhenglm006另外补充一点,这段code是ezpdf的readme.php代码。data.txt是它的数据源。
具体的代码是在
http://www.ros.co.nz/pdf/downloa … esAndFonts_009e.zip。
不过大家可以不用看
因为我现在使用了一个最简单的语句
file(“./data.txt”) 都通不过。
Warning: file(./date.txt) [function.file]: failed to open stream: No such file or directory in E:\wamp\www\TEUL\testpdf.php on line 2
我用的环境是wamp+php 5.2.9-1
是不是配置上有问题呢?
作者: igoogler 发布时间: 2009-07-06
问题解决了。作者: igoogler 发布时间: 2009-07-06
failed to open stream: No such file or directory 就是没找到文件嘛路径问题!!你把你当前文件运行的路径打出来看看:
echo __FILE__;
作者: suncuan 发布时间: 2009-07-06