如何在OpenCart中设置配置? [英] How to set the config in OpenCart?

查看:123
本文介绍了如何在OpenCart中设置配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

警告:require_once(/sgweb1/minufashion/system/startup.php) [function.require-once]:无法打开流:无此文件或 目录在 D:\ inetpub \ vhosts \ sgwebgene.com \ httpdocs \ minufashion \ index.php在线 15

Warning: require_once(/sgweb1/minufashion/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in D:\inetpub\vhosts\sgwebgene.com\httpdocs\minufashion\index.php on line 15

致命错误:require_once()[function.require]:打开失败 必需的'/sgweb1/minufashion/system/startup.php' (include_path ='.; ../includes; ./pear')在 D:\ inetpub \ vhosts \ sgwebgene.com \ httpdocs \ minufashion \ index.php在线 15

Fatal error: require_once() [function.require]: Failed opening required '/sgweb1/minufashion/system/startup.php' (include_path='.;./includes;./pear') in D:\inetpub\vhosts\sgwebgene.com\httpdocs\minufashion\index.php on line 15

我正在托管服务器,然后显示错误.

I am hosting to the server then the error is showing.

推荐答案

注意路径差异:

sgwebgene.com\httpdocs\minufashion\index.php

/sgweb1/minufashion/system/startup.php

您在部署opencart之后是否更改了文件夹?

Did you change your folders after deploying opencart?

config.php中有如下几行:

define('DIR_APPLICATION', '/home/xxxx/public_html/shop/catalog/');
define('DIR_SYSTEM', '/home/xxxx/public_html/shop/system/');
define('DIR_DATABASE', '/home/xxxx/public_html/shop/system/database/');
define('DIR_LANGUAGE', '/home/xxxx/public_html/shop/catalog/language/');
define('DIR_TEMPLATE', '/home/xxxx/public_html/shop/catalog/view/theme/');
define('DIR_CONFIG', '/home/xxxx/public_html/shop/system/config/');
define('DIR_IMAGE', '/home/xxxx/public_html/shop/image/');
define('DIR_CACHE', '/home/xxxx/public_html/shop/system/cache/');
define('DIR_DOWNLOAD', '/home/xxxx/public_html/shop/download/');
define('DIR_LOGS', '/home/xxxx/public_html/shop/system/logs/');

确保这些设置适合您的设置

Make sure those are proper for your setup

这篇关于如何在OpenCart中设置配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆