问题描述
我正在开发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
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
这篇关于在服务器上上传时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!