Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37
  1. #21
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    7,838
    Plugin Contributions
    64

    Default Re: Switching to 100% SSL (https) - Thoughts?

    Looking at your login page with FireFox, press the F12 key to bring up the debug view. Click the "console" tab and you'll see the list of images that are being loaded with http:// instead of https:// protocol ... like http://idtagsonline.com/store/includ.../icons/cc1.gif (ditto for cc2.gif, cc3.gif and cc4.gif).

  2. #22
    Join Date
    Aug 2005
    Posts
    282
    Plugin Contributions
    0

    Default Re: Switching to 100% SSL (https) - Thoughts?

    Quote Originally Posted by lat9 View Post
    Looking at your login page with FireFox, press the F12 key to bring up the debug view. Click the "console" tab and you'll see the list of images that are being loaded with http:// instead of https:// protocol ... like http://idtagsonline.com/store/includ.../icons/cc1.gif (ditto for cc2.gif, cc3.gif and cc4.gif).
    Thank you for respond, it is a brand new world of diagnostics which I was not aware off !

    If I can ask another question.

    Is there a way to specify relative address to the images or links to omit "http://idtagsonline.com/" ?

    home is public html/idtagsonline.com/

    So, instead of line:

    Line #60 : <img src="http://idtagsonline.com/store/includes/templates/idtagsonline/images/icons/cc1.gif" alt="We accept major credit cards and PayPal">

    to write;

    Line #60 : <img src="//store/includes/templates/idtagsonline/images/icons/cc1.gif" alt="We accept major credit cards and PayPal">

    or something similar?

  3. #23
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    6,725
    Plugin Contributions
    8

    Default Re: Switching to 100% SSL (https) - Thoughts?

    First of all, you would need to get the config files in step with each other so that the catalog files are set the same. One is pointing to /store/ and one is not. Hovering over the Store Home Log In will show you that home is going to the wrong place. That will fix some of the errors but you will still need to work on the relative links. Good tutorial at https://www.w3schools.com/html/html_filepaths.asp

    I am curious as to why you are doing an upgrade without responsive template inclusion. Seems like re-painting "Old Betsy" rather than driving home the new model.

  4. #24
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    560
    Plugin Contributions
    0

    Default Re: Switching to 100% SSL (https) - Thoughts?

    right click on the page and view the source. Search for http:
    ZC v1.5.4 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

  5. #25
    Join Date
    Aug 2005
    Posts
    282
    Plugin Contributions
    0

    Default Re: Switching to 100% SSL (https) - Thoughts?

    Thank you everybody for advises.

    We do not see anymore errors for https://

  6. #26
    Join Date
    Aug 2005
    Posts
    282
    Plugin Contributions
    0

    Default Re: Switching to 100% SSL (https) - Thoughts?

    Quote Originally Posted by dbltoe View Post
    I am curious as to why you are doing an upgrade without responsive template inclusion. Seems like re-painting "Old Betsy" rather than driving home the new model.
    We are computer illiterate to the level to be dangerous.

    So, at this point, we address SSL issue not to spook daily customers.

    At the same time we are "playing" with responsive template on another test site.

    It is quite a difficult, but we are moving forward "inch by inch".

  7. #27
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    471
    Plugin Contributions
    0

    Default Re: Switching to 100% SSL (https) - Thoughts?

    Hi
    We change to SSL also, it was the host company who made the install.
    They leave it this way ( at includes/configure.php):

    Code:
     
    define('HTTP_SERVER', 'https://el_site.net');
    define('HTTPS_SERVER', 'https://el_site.net');
    
    /**
     *  If you want to tell Zen Cart to use your HTTPS URL on sensitive pages like login and checkout, set this to 'true'. Otherwise 'false'. (Keep the quotes)
     */
    define('ENABLE_SSL', 'true');
    On the admin configure:

    Code:
    define('HTTP_SERVER', 'https://el_site.net');
    /**
     * Note about HTTPS_SERVER:
     * There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
     */
    
    /**
     * Enter the domain for your storefront URL.
     * Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
     */
    
    define('HTTP_SERVER', 'http://el_site.net');
    define('HTTPS_SERVER', 'https://el_site.net');
    
    /**
     * Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
     */
    define('ENABLE_SSL_CATALOG', '');
    The fact is that everything looks good, no issues. But reading that the define('ENABLE_SSL_CATALOG', '') to true or false makes a change in the site's performance... I wonder if this is correct, or should I change this.

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  8. #28
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    7,838
    Plugin Contributions
    64

    Default Re: Switching to 100% SSL (https) - Thoughts?

    Quote Originally Posted by mesnitu View Post
    Hi
    We change to SSL also, it was the host company who made the install.
    They leave it this way ( at includes/configure.php):

    Code:
     
    define('HTTP_SERVER', 'https://el_site.net');
    define('HTTPS_SERVER', 'https://el_site.net');
    
    /**
     *  If you want to tell Zen Cart to use your HTTPS URL on sensitive pages like login and checkout, set this to 'true'. Otherwise 'false'. (Keep the quotes)
     */
    define('ENABLE_SSL', 'true');
    On the admin configure:

    Code:
    define('HTTP_SERVER', 'https://el_site.net');
    /**
     * Note about HTTPS_SERVER:
     * There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
     */
    
    /**
     * Enter the domain for your storefront URL.
     * Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
     */
    
    define('HTTP_SERVER', 'http://el_site.net');
    define('HTTPS_SERVER', 'https://el_site.net');
    
    /**
     * Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
     */
    define('ENABLE_SSL_CATALOG', '');
    The fact is that everything looks good, no issues. But reading that the define('ENABLE_SSL_CATALOG', '') to true or false makes a change in the site's performance... I wonder if this is correct, or should I change this.

    Thanks
    The storefront file looks correct, but that admin one needs a couple of changes:
    Code:
    define('HTTP_SERVER', 'https://el_site.net'); 
    /**  
     * Note about HTTPS_SERVER:  
     * There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.  
    */  
    
    /** 
     * Enter the domain for your storefront URL.  
    * Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.  
    */  
    define('HTTP_SERVER', 'https://el_site.net'); 
    define('HTTPS_SERVER', 'https://el_site.net'); 
    
    /** 
     * Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'. 
     */ 
    define('ENABLE_SSL_CATALOG', 'true');
    Without those changes, any link from the admin to a storefront SSL-protected page isn't going to generate properly.
    Last edited by lat9; 27 Jan 2018 at 12:39 PM.

  9. #29
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    471
    Plugin Contributions
    0

    Default Re: Switching to 100% SSL (https) - Thoughts?

    Thanks
    But why there are two define('HTTP_SERVER', 'https://el_site.net'); ( in the admin configure ) ?

    And also, to see if I'm understanding this right:

    define('ENABLE_SSL_CATALOG', 'true'); is used IF there's a mix of http / https, right ?

    In this case, as both define('HTTP_SERVER' / define('HTTPS_SERVER' are equal or https, it really doesn't matter if is set to true or false, or it does ?

    Sorry for the dumb questions, but I'm trying to understand.

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  10. #30
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    7,838
    Plugin Contributions
    64

    Default Re: Switching to 100% SSL (https) - Thoughts?

    There shouldn't be two definitions ... I was just feeding back the format that you had.

    For a store/admin that is SSL-all-the-time, the top of your /admin/configure.php should look similar to:

    Code:
    /**
     * Enter the domain for your Admin URL. If you have SSL, enter the correct https address in the HTTP_SERVER setting, instead of just an http address.
     */
    define('HTTP_SERVER', 'https://www.example.com');
    /**
     * Note about HTTPS_SERVER:
     * There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
     */
    
    /**
     * Note about DIR_WS_ADMIN
     * The DIR_WS_ADMIN value is now auto-detected.
     * In the rare case where it cannot be detected properly, you can add your own DIR_WS_ADMIN definition below.
     */
    
    /**
     * Enter the domain for your storefront URL.
     * Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
     */
    define('HTTP_CATALOG_SERVER', 'https://www.example.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.example.com');
    
    /**
     * Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
     */
    define('ENABLE_SSL_CATALOG', 'true');

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v151 switching PayPal IPN Verification Postback to HTTPS
    By moogawooga in forum General Questions
    Replies: 14
    Last Post: 28 Dec 2017, 08:08 AM
  2. Switching to https from http changed php
    By Goldenis in forum General Questions
    Replies: 1
    Last Post: 15 Apr 2011, 10:27 AM
  3. Positive SSL problem? Not switching to the HTTPS url during Checkout
    By whatisthat456 in forum General Questions
    Replies: 2
    Last Post: 13 Dec 2009, 09:45 AM
  4. switching from http to https
    By metamp in forum Basic Configuration
    Replies: 1
    Last Post: 8 Feb 2007, 09:00 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR