4

警告:require_once(/sgweb1/minufashion/system/startup.php) [function.require-once]:无法打开流:D:\inetpub\vhosts\sgwebgene.com\httpdocs\minufashion\index 中没有这样的文件或目录.php 在第 15 行

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

我托管到服务器然后显示错误。

4

1 回答 1

6

注意路径差异:

sgwebgene.com\httpdocs\minufashion\index.php

/sgweb1/minufashion/system/startup.php

部署 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/');

确保这些适合您的设置

于 2012-06-02T05:59:12.680 回答