2012-06-02 76 views
4

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如何在OpenCart中設置配置?

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

我託管到服務器,然後錯誤顯示。

+0

你已經找到了這個問題的解決? –

回答

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

確保這些都是正確的適合你的設置