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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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/'); ....... |
|
#4
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Images are broken and boxes are just one big streak | carnafeagh | osCommerce 2.2 Installation Help | 3 | 07-30-2006 06:20 AM |
| 2 Problems-New Install: Broken Images/Purchase wo Account | puggybelle | osCMax v2 Installation issues | 2 | 10-25-2005 02:22 PM |
| All links to images/ are broken | Kamenotejin | osCMax v2 Installation issues | 4 | 09-16-2005 12:58 PM |
| Broken Images | auntie22 | osCMax v2 Installation issues | 1 | 07-24-2005 10:32 AM |
| Losing images in admin with https | ozstar | osCommerce 2.2 Modification Help | 7 | 03-16-2003 08:14 PM |