得到错误,而在服务器
我开发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
您需要为文件使用路径而不是HTTP网址。打开config.php
文件和admin/config.php
文件,并更改
http://249development.us/
到
/home/content/29/9716229/html/
所有除了那些在开始HTTP_
或HTTPS_
的路径定义的
看来你是试图通过HTTP包含远程文件。如果这是故意的情况,那么你需要启用http:// wrapper - 正如你所得到的警告所建议的那样。如果情况并非如此,请考虑从require_once
声明中删除URL http://249development.us/
。
哎周杰伦非常感谢,之后它改变pth它得到解决。 – Danny 2013-02-14 04:52:49