We recently had to switch to a new host and move the store to a subdomain (store.aquaponics.com). The store works in Firefox and Safari, but in IE it has issues with the images because there is an extra slash in the image path so it shows up as https:///store.aquaponics.com/image/cache/BV A-120x120.jpg. I've checked in the admin and the store URL is set to https://store.aquaponics.com/. Any ideas?
Thanks!
Thanks!
I checked through both. here they are.
Main Config -
define('DIR_APPLICATION', '/home/aqua/public_html/store/catalog/');
define('DIR_SYSTEM', '/home/aqua/public_html/store/system/');
define('DIR_DATABASE', '/home/aqua/public_html/store/system/database/');
define('DIR_LANGUAGE', '/home/aqua/public_html/store/catalog/language/');
define('DIR_TEMPLATE', '/home/aqua/public_html/store/catalog/view/theme/');
define('DIR_CONFIG', '/home/aqua/public_html/store/system/config/');
define('DIR_IMAGE', '/home/aqua/public_html/store/image/');
define('DIR_CACHE', '/home/aqua/public_html/store/system/cache/');
define('DIR_DOWNLOAD', '/home/aqua/public_html/store/download/');
define('DIR_LOGS', '/home/aqua/public_html/store/system/logs/');
Admin config -
// HTTP
define('HTTP_SERVER', '');
define('HTTP_CATALOG', '');
define('HTTP_IMAGE', '');
// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');
// DIR
define('DIR_APPLICATION', '/home/aqua/public_html/store/dashboard/');
define('DIR_SYSTEM', '/home/aqua/public_html/store/system/');
define('DIR_DATABASE', '/home/aqua/public_html/store/system/database/');
define('DIR_LANGUAGE', '/home/aqua/public_html/store/dashboard/language/');
define('DIR_TEMPLATE', '/home/aqua/public_html/store/dashboard/view/template/');
define('DIR_CONFIG', '/home/aqua/public_html/store/system/config/');
define('DIR_IMAGE', '/home/aqua/public_html/store/image/');
define('DIR_CACHE', '/home/aqua/public_html/store/system/cache/');
define('DIR_DOWNLOAD', '/home/aqua/public_html/store/download/');
define('DIR_LOGS', '/home/aqua/public_html/store/system/logs/');
define('DIR_CATALOG', '/home/aqua/public_html/store/catalog/');
Main Config -
define('DIR_APPLICATION', '/home/aqua/public_html/store/catalog/');
define('DIR_SYSTEM', '/home/aqua/public_html/store/system/');
define('DIR_DATABASE', '/home/aqua/public_html/store/system/database/');
define('DIR_LANGUAGE', '/home/aqua/public_html/store/catalog/language/');
define('DIR_TEMPLATE', '/home/aqua/public_html/store/catalog/view/theme/');
define('DIR_CONFIG', '/home/aqua/public_html/store/system/config/');
define('DIR_IMAGE', '/home/aqua/public_html/store/image/');
define('DIR_CACHE', '/home/aqua/public_html/store/system/cache/');
define('DIR_DOWNLOAD', '/home/aqua/public_html/store/download/');
define('DIR_LOGS', '/home/aqua/public_html/store/system/logs/');
Admin config -
// HTTP
define('HTTP_SERVER', '');
define('HTTP_CATALOG', '');
define('HTTP_IMAGE', '');
// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');
// DIR
define('DIR_APPLICATION', '/home/aqua/public_html/store/dashboard/');
define('DIR_SYSTEM', '/home/aqua/public_html/store/system/');
define('DIR_DATABASE', '/home/aqua/public_html/store/system/database/');
define('DIR_LANGUAGE', '/home/aqua/public_html/store/dashboard/language/');
define('DIR_TEMPLATE', '/home/aqua/public_html/store/dashboard/view/template/');
define('DIR_CONFIG', '/home/aqua/public_html/store/system/config/');
define('DIR_IMAGE', '/home/aqua/public_html/store/image/');
define('DIR_CACHE', '/home/aqua/public_html/store/system/cache/');
define('DIR_DOWNLOAD', '/home/aqua/public_html/store/download/');
define('DIR_LOGS', '/home/aqua/public_html/store/system/logs/');
define('DIR_CATALOG', '/home/aqua/public_html/store/catalog/');
Check in your main config.php file that you have the following
Also what version of OpenCart are you running?
Code: Select all
// HTTP
define('HTTP_SERVER', 'http://store.aquaponics.com/');
define('HTTP_IMAGE', 'http://store.aquaponics.com/image/');
define('HTTP_ADMIN', 'http://store.aquaponics.com/admin/');
define('HTTPS_SERVER', 'https://store.aquaponics.com/');
define('HTTPS_IMAGE', 'https://store.aquaponics.com/image/');
I didn't have those lines, but when I added them I got these errors -
Notice: Constant HTTP_IMAGE already defined in /home/aqua/public_html/store/index.php on line 55
Notice: Constant HTTPS_SERVER already defined in /home/aqua/public_html/store/index.php on line 58
Notice: Constant HTTPS_IMAGE already defined in /home/aqua/public_html/store/index.php on line 59
And then this is the code from lines 54 - 63 from that index file:
define('HTTP_SERVER', $config->get('config_url'));
define('HTTP_IMAGE', HTTP_SERVER . 'image/');
if ($config->get('config_ssl')) {
define('HTTPS_SERVER', 'https://' . substr($config->get('config_url'), 7));
define('HTTPS_IMAGE', HTTPS_SERVER . 'image/');
} else {
define('HTTPS_SERVER', HTTP_SERVER);
define('HTTPS_IMAGE', HTTP_IMAGE);
}
Notice: Constant HTTP_IMAGE already defined in /home/aqua/public_html/store/index.php on line 55
Notice: Constant HTTPS_SERVER already defined in /home/aqua/public_html/store/index.php on line 58
Notice: Constant HTTPS_IMAGE already defined in /home/aqua/public_html/store/index.php on line 59
And then this is the code from lines 54 - 63 from that index file:
define('HTTP_SERVER', $config->get('config_url'));
define('HTTP_IMAGE', HTTP_SERVER . 'image/');
if ($config->get('config_ssl')) {
define('HTTPS_SERVER', 'https://' . substr($config->get('config_url'), 7));
define('HTTPS_IMAGE', HTTPS_SERVER . 'image/');
} else {
define('HTTPS_SERVER', HTTP_SERVER);
define('HTTPS_IMAGE', HTTP_IMAGE);
}
Who is online
Users browsing this forum: No registered users and 88 guests