osCmax v2.5 User Manual
Results 1 to 4 of 4

Broken images in https

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 ...

      
  1. #1
    New Member
    Join Date
    Nov 2003
    Posts
    13
    Rep Power
    0


    Default Broken images in https

    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.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Broken images in https

    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

  3. #3
    New Member
    Join Date
    Nov 2003
    Posts
    13
    Rep Power
    0


    Default

    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. #4
    New Member
    Join Date
    Nov 2003
    Posts
    13
    Rep Power
    0


    Default

    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.

Similar Threads

  1. Images are broken and boxes are just one big streak
    By carnafeagh in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 07-30-2006, 06:20 AM
  2. 2 Problems-New Install: Broken Images/Purchase wo Account
    By puggybelle in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 10-25-2005, 02:22 PM
  3. All links to images/ are broken
    By Kamenotejin in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 09-16-2005, 12:58 PM
  4. Broken Images
    By auntie22 in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-24-2005, 10:32 AM
  5. Losing images in admin with https
    By ozstar in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 03-16-2003, 08:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •