Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2007
    Posts
    27
    Plugin Contributions
    0

    Default SSL images don't work at all...

    This is probably so obvious, but I've been up for waaaaaay too long

    I've just got my (shared) SSL working, and none of the images are showing up. I don't think this is related to the problem SSL has with absolute paths, since I'm talking about the images in Zen's images directory (images root, no subdir's).

    When viewing the image properties, the image path is referencing the shop directory twice (EX: http://www.mydomain.com/shop/shop/images/mypic.jpg)

    I've been fiddling with both configure.php files for about an hour now, and cannot for the life of me figure out where the shop/ path might be doubling up...

    Does this sound familiar to anyone?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: SSL images don't work at all...

    Please post your includes/configure.php without your password
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Mar 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: SSL images don't work at all...

    Please excuse my generic~ness, I don't have all the security in place yet.

    shop/includes/configure.php
    Code:
      define('HTTP_SERVER', 'http://www.mydomain.com');
      define('HTTPS_SERVER', 'https://www.mydomain.com');
    
      define('ENABLE_SSL', 'true');
    
      define('DIR_WS_CATALOG', '/shop/');
      define('DIR_WS_HTTPS_CATALOG', '/shop/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_INCLUDES', 'includes/');
      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', DIR_WS_CATALOG . 'pub/');
      define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    
      define('DIR_WS_PHPBB', '/path_to/board/');
    
      define('DIR_FS_CATALOG', '/path_to/shop/');
    
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
      define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
      define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    ....
    shop/admin/includes/configure.php
    Code:
    define('HTTP_SERVER', 'http://www.mydomain.com');
      define('HTTPS_SERVER', 'https://www.mydomain.com');
      define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');
    
      define('ENABLE_SSL_CATALOG', 'true');
      define('ENABLE_SSL_ADMIN', 'true');
    
      define('DIR_WS_ADMIN', '/shop/admin/');
      define('DIR_WS_CATALOG', '/shop/');
      define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
      define('DIR_WS_HTTPS_CATALOG', '/shop/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    
      define('DIR_FS_ADMIN', '/path_to/shop/admin/');
      define('DIR_FS_CATALOG', '/path_to/shop/');
    
      define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    ....

  4. #4
    Join Date
    Mar 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: SSL images don't work at all...

    bump ... anyone?

  5. #5
    Join Date
    Mar 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: SSL images don't work at all...

    NVM, got it!

  6. #6
    Join Date
    Feb 2007
    Location
    Calabasas, CA & St. Pete, FL
    Posts
    117
    Plugin Contributions
    0

    Default Re: SSL images don't work at all...

    Quote Originally Posted by Valaroopie View Post
    NVM, got it!
    What was it? I'm having SSL issues too.
    -James Starting from scratch!
    Started out w/ZenCart 1.3.7 (No upgrades)
    http://www.nomadicmoto.com/
    Review my site here: http://www.zen-cart.com/forum/showthread.php?t=63630

 

 

Similar Threads

  1. I've broken it!! Larger Images don't work
    By gr8fun in forum General Questions
    Replies: 1
    Last Post: 7 Mar 2011, 03:51 PM
  2. Pages don't work in SSL
    By leest35 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Sep 2010, 06:11 PM
  3. Added SSL. now all product download links don't work
    By TraderDan in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 29 Jul 2009, 03:57 PM
  4. SSL - Will it work on all pages?
    By anakeimai in forum General Questions
    Replies: 1
    Last Post: 11 May 2009, 05:16 PM
  5. 3rd party SSL Certificate Admin and Customer Login don't work
    By gws76 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 9 Feb 2009, 10:44 AM

Posting Permissions

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