Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    5
    Plugin Contributions
    0

    bug problem setting up SSL after install

    Hi Guys,

    I'm having a little troubel as I'm new to all this....

    I read the article: https://www.zen-cart.com/tutorials/index.php?article=14 - "How to configure SSL/HTTPS after i have installed Zen cart"...but I still couldn't get it to work...

    My SSL is currently a shared cert & I entered the details when installing Zen, however it did not work & I could only login if I disabled it.

    I am now trying to get it to work, but I'm not sure where I am going wrong. I have included the code Zen says to change & other bits of code that might be relevant.

    Many Thanks in advance :)

    1. my store location is: /shop
    2. my cert is in this format: https://secure19.inmotionhosting.com/~dom5

    .:: /admin/includes/configure.php ::.

    PHP Code:
    define('HTTP_SERVER''http://www.domain.com');
      
    define('HTTPS_SERVER''https://secure19.inmotionhosting.com/~dom5');
      
    define('HTTP_CATALOG_SERVER''http://www.domain.com');
      
    define('HTTPS_CATALOG_SERVER''https://secure19.inmotionhosting.com/~dom5');

      
    // Use secure webserver for catalog module and/or admin areas?
      
    define('ENABLE_SSL_CATALOG''true');
      
    define('ENABLE_SSL_ADMIN''true'); 
    .........however I also have this:

    PHP Code:
    define('DIR_WS_HTTPS_ADMIN''https://www.domain.com/shop/shop/admin/');
      
    define('DIR_WS_HTTPS_CATALOG''https://www.domain.com/shop/shop/'); 
    .:: /includes/configure.php ::.

    PHP Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      
    define('HTTP_SERVER''http://www.domain.com');
      
    define('HTTPS_SERVER''https://secure19.inmotionhosting.com/~dom5');

      
    // Use secure webserver for checkout procedure?
      
    define('ENABLE_SSL''true'); 
    ............and I also have this:

    PHP Code:
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      
    define('DIR_WS_CATALOG''/shop/');
      
    define('DIR_WS_HTTPS_CATALOG''https://www.domain.com/shop/shop/'); 
    Many Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: problem setting up SSL after install

    Code:
      define('ENABLE_SSL_CATALOG', 'true');
      define('ENABLE_SSL_ADMIN', 'true');
    These do not require being set to true and will only slow browsing

    And depending on how yur host has their shared cert configured, you might need to load some files to it or maybe not.

    An Aside - A Private SSL Cert can be obtained for less than $20 USD/year and would look more professional as your customers would always see your url in the browser. You would need a dedicated IP for this also
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: problem setting up SSL after install

    Hi Kobra,

    thanks for the reply - I'll def get my own ssl once i figure things out.

    however it still does not work...

    the link generated on login is: https://secure19.inmotionhosting.com/~dom5https://www.domain.com/shop/shop/index.php?main_page=login

    I think it is inputting this as an extra: https://www.domain.com/shop



    ** EDITED *** Never ever post in a forum, email, newsletter etc. the zenid or zenAdminID or you will be doomed!!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: problem setting up SSL after install

    Yes you need to look at the comments that are above the entries like for this one
    Code:
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_CATALOG', 'https://www.domain.com/shop/shop/');
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. SSL problem when setting up
    By limying in forum Basic Configuration
    Replies: 2
    Last Post: 18 Jun 2009, 12:31 AM
  2. Problem with images after install of SSL
    By pwaugh in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 13 Oct 2008, 04:14 PM
  3. Problems After Setting Up My SSL Cert
    By sad1968 in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 27 Sep 2007, 10:40 PM
  4. admin login problem after shared SSL install. Pls HELP!!
    By zenartman in forum Basic Configuration
    Replies: 4
    Last Post: 4 Aug 2006, 05:17 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