我在我的demo子域服务器上安装了open cart。
我改变的配置文件如下
// HTTP
define('HTTP_SERVER', 'https://demos.abc.com/artnkraft/');
// HTTPS
define('HTTPS_SERVER', 'https://demos.abc.com/artnkraft/');
// DIR
define('DIR_APPLICATION', '/demos/artnkraft/catalog/');
define('DIR_SYSTEM', '/demos/artnkraft/system/');
define('DIR_IMAGE', '/demos/artnkraft/image/');
define('DIR_LANGUAGE', '/demos/artnkraft/catalog/language/');
define('DIR_TEMPLATE', '/demos/artnkraft/catalog/view/theme/');
define('DIR_CONFIG', '/demos/artnkraft/system/config/');
define('DIR_CACHE', '/demos/artnkraft/system/storage/cache/');
define('DIR_DOWNLOAD', '/demos/artnkraft/system/storage/download/');
define('DIR_LOGS', '/demos/artnkraft/system/storage/logs/');
define('DIR_MODIFICATION', '/demos/artnkraft/system/storage/modification/');
define('DIR_UPLOAD', '/demos/artnkraft/system/storage/upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'abc');
define('DB_PASSWORD', 'abc@_password');
define('DB_DATABASE', 'abc_database');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
这会给出错误
Warning: require_once(/demos/artnkraft/system/startup.php): failed to open stream: No such file or directory in /home/cloudusweb/public_html/demos/artnkraft/index.php on line 17
Fatal error: require_once(): Failed opening required '/demos/artnkraft/system/startup.php' (include_path='.:/usr/local/lib/php') in /home/cloudusweb/public_html/demos/artnkraft/index.php on line 17
我还更改了管理配置文件。 帮助我如何配置configre文件来纠正路径
提前致谢