我在我的本地服务器上构建了一个基于opencart的网站,昨晚我将我的本地文件移动到一个免费托管。现在产品和横幅图像没有正确显示。在chrome中我去控制台显示下面的错误。
Failed to load resource: the server responded with a status of 404 (Not Found) http://magichomegym.hostingsiteforfree.com/undefined
Failed to load resource: the server responded with a status of 404 (Not Found) http://magichomegym.hostingsiteforfree.com/undefined
Failed to load resource: the server responded with a status of 404 (Not Found) http://magichomegym.hostingsiteforfree.com/undefined
Failed to load resource: the server responded with a status of 404 (Not Found) http://magichomegym.hostingsiteforfree.com/undefined
Failed to load resource: the server responded with a status of 404 (Not Found) http://magichomegym.hostingsiteforfree.com/undefined
Failed to load resource: the server responded with a status of 404 (Not Found) http://magichomegym.hostingsiteforfree.com/undefined
Failed to load resource: the server responded with a status of 404 (Not Found) http://magichomegym.hostingsiteforfree.com/undefined
我也无法上传支持文件管理器的图片。如果我上传任何图片,只需加载很长时间。
我的网站是http://magichomegym.hostingsiteforfree.com/
我的root配置文件是,
<?php
// HTTP
define('HTTP_SERVER', 'http://magichomegym.hostingsiteforfree.com/');
define('HTTP_IMAGE', 'http://magichomegym.hostingsiteforfree.com/image/');
define('HTTP_ADMIN', 'http://magichomegym.hostingsiteforfree.com/admin/');
// HTTPS
define('HTTPS_SERVER', 'http://magichomegym.hostingsiteforfree.com/');
define('HTTPS_IMAGE', 'http://magichomegym.hostingsiteforfree.com/image/');
// DIR
define('DIR_APPLICATION', '/home/u230336461/public_html/catalog/');
define('DIR_SYSTEM', '/home/u230336461/public_html/system/');
define('DIR_DATABASE', '/home/u230336461/public_html/system/database/');
define('DIR_LANGUAGE', '/home/u230336461/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/u230336461/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/u230336461/public_html/system/config/');
define('DIR_IMAGE', 'home/u230336461/public_html/image/');
define('DIR_CACHE', '/home/u230336461/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home/u230336461/public_html/download/');
define('DIR_LOGS', '/home/u230336461/public_html/system/logs/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'mysql.1freehosting.com');
define('DB_USERNAME', 'u230336461_homeg');
define('DB_PASSWORD', 'mypassword');
define('DB_DATABASE', 'u230336461_homegym');
define('DB_PREFIX', '');
?>
我的管理员配置文件是,
<?php
// HTTP
define('HTTP_SERVER', 'http://magichomegym.hostingsiteforfree.com/admin/');
define('HTTP_CATALOG', 'http://magichomegym.hostingsiteforfree.com/');
define('HTTP_IMAGE', 'http://magichomegym.hostingsiteforfree.com/image/');
// HTTPS
define('HTTPS_SERVER', 'http://magichomegym.hostingsiteforfree.com/admin/');
define('HTTPS_CATALOG', 'http://magichomegym.hostingsiteforfree.com/');
define('HTTPS_IMAGE', 'http://magichomegym.hostingsiteforfree.com/image/');
// DIR
define('DIR_APPLICATION', '/home/u230336461/public_html/admin/');
define('DIR_SYSTEM', '/home/u230336461/public_html/system/');
define('DIR_DATABASE', '/home/u230336461/public_html/system/database/');
define('DIR_LANGUAGE', '/home/u230336461/public_html/admin/language/');
define('DIR_TEMPLATE', '/home/u230336461/public_html/admin/view/template/');
define('DIR_CONFIG', '/home/u230336461/public_html/system/config/');
define('DIR_IMAGE', '/home/u230336461/public_html/image/');
define('DIR_CACHE', '/home/u230336461/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home/u230336461/public_html/download/');
define('DIR_LOGS', '/home/u230336461/public_html/system/logs/');
define('DIR_CATALOG', '/home/u230336461/public_html/catalog/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'mysql.1freehosting.com');
define('DB_USERNAME', 'u230336461_homeg');
define('DB_PASSWORD', 'mypassword');
define('DB_DATABASE', 'u230336461_homegym');
define('DB_PREFIX', '');
?>
有没有人知道这个想法?