程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 網頁編程 >> PHP編程 >> 關於PHP編程 >> 解決:failed to open stream: No such file or directory in

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

編輯:關於PHP編程

本教程來給各位同學介紹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

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved