I cannot get any of the images to work when the site is in https mode. How can I fix this. I am using oscmax with bts. I have fixed this in site without the bts system.
This is a discussion on Broken images in https within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I cannot get any of the images to work when the site is in https mode. How can I fix ...
I cannot get any of the images to work when the site is in https mode. How can I fix this. I am using oscmax with bts. I have fixed this in site without the bts system.
Has nothing to do with bts...
It is your configure.php path settings and server configuration that you need to check. Without you providing server setup and current configuration, not much more anyone here can do to help.
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
OK, thanks, here is my configure.php
define('HTTP_SERVER', 'http://nthomebrew.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://nthomebrew.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'nthomebrew.com');
define('HTTPS_COOKIE_DOMAIN', 'nthomebrew.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/public_html/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
.......
I completed the research on this problem and it was my original thought. The problem was with the BTS template system and the aabox sample template. The version I downloaded contained hard coded relative image references in it. I do not know if this is in the current release or not. Because the references were relative they would not display in ssl mode. Changing the configure.php settings did not help because they were not looking to that file for any variables. The same holds true for the background images and the right_arrow images in the cart and new product boxes. So after a lot of search and replacing I got this to work. If I find the time I will go back and look at a fix that I can post for the templates.
Bookmarks