本文介绍了在服务器上上传时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发opencart应用程序,我将其安装在localhost上,并对其进行了自定义,但是现在我试图将其上传到服务器,但会出错

I am developing opencart application , i installed in on localhost ,and customize it but now i am trying to upload it to server but it get error

警告: require_once( http://249development.us/johndhan/telhemboradz/system/startup.php) [function.require-once]:无法打开流:没有合适的包装器 可以在 /home/content/29/9716229/html/johndhan/telhemboradz/index.php上线 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

致命错误:require_once()[function.require]:打开失败 必需的 ' http://249development.us/johndhan/telhemboradz/system/startup.php' (include_path ='.:/usr/local/php5_3/lib/php')在 /home/content/29/9716229/html/johndhan/telhemboradz/index.php上线 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 URL.打开config.php文件和admin/config.php文件并进行更改

You need to use paths for your files not HTTP url's. Open your config.php file and admin/config.php file and change

http://249development.us/

/home/content/29/9716229/html/

用于所有路径,除了在定义的路径中以HTTP_HTTPS_开头的路径

for all of the paths except for those that start HTTP_ or HTTPS_ in the define's

这篇关于在服务器上上传时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 22:31