2013-02-13 108 views
0

我開發Opencart的應用上傳,我安裝在本地主機上,並進行自定義,但現在我試圖把它上傳到服務器,但它得到錯誤得到錯誤,而在服務器

Warning: require_once() [function.require-once]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/content/29/9716229/html/johndhan/telhemboradz/index.php on line 17

Warning: require_once(http://249development.us/johndhan/telhemboradz/system/startup.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/content/29/9716229/html/johndhan/telhemboradz/index.php on line 17

Fatal error: require_once() [function.require]: Failed opening required ' http://249development.us/johndhan/telhemboradz/system/startup.php ' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/29/9716229/html/johndhan/telhemboradz/index.php on line 17

回答

1

您需要爲文件使用路徑而不是HTTP網址。打開config.php文件和admin/config.php文件,並更改

http://249development.us/ 

/home/content/29/9716229/html/ 

所有除了那些在開始HTTP_HTTPS_的路徑定義的

+0

哎周杰倫非常感謝,之後它改變pth它得到解決。 – Danny 2013-02-14 04:52:49

0

看來你是試圖通過HTTP包含遠程文件。如果這是故意的情況,那麼你需要啓用http:// wrapper - 正如你所得到的警告所建議的那樣。如果情況並非如此,請考慮從require_once聲明中刪除URL http://249development.us/