<label id="kdrfs"><p id="kdrfs"><pre id="kdrfs"></pre></p></label>
  • <meter id="kdrfs"></meter>
    <meter id="kdrfs"></meter>

    <cite id="kdrfs"></cite>

    1. <menu id="kdrfs"><s id="kdrfs"><pre id="kdrfs"></pre></s></menu>
    2. <meter id="kdrfs"><font id="kdrfs"></font></meter>

      微擎安裝后PHP Warning:require(./framework/bootstrap.inc.php):failed to的錯誤

      2015-10-28 21:10:59來源:威易網作者:小易

      微擎0.7版成功安裝后,訪問首頁面,發現出現如下錯誤:PHP Warning:  require(./framework/bootstrap.inc.php): failed to open stream: No such file or directory in D:weiqingindex.php on line 6

      微擎0.7版成功安裝后,訪問首頁面,發現出現如下錯誤:

      PHP Warning:  require(./framework/bootstrap.inc.php): failed to open stream: No such file or directory in D:weiqingindex.php on line 6
      PHP Fatal error:  require(): Failed opening required ‘./framework/bootstrap.inc.php‘ (include_path=‘.;C:phppear‘) in D:weiqingwx.app.hi.cnindex.php on line 6

      錯誤看起來找不到bootstrap.inc.php文件,實際上文件是正常存在的,打開index.php一看,錯誤代碼行為:

      require ‘./framework/bootstrap.inc.php‘;

      解決辦法很簡單,去掉那個“.”,將代碼改成:

      require ‘/framework/bootstrap.inc.php‘;

      就行了。

      關鍵詞:微擎微信
      推薦文章
        世界杯买球网址