Thread: SSL not working

Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2009
    Posts
    5
    Plugin Contributions
    0

    Default SSL not working

    I am using Version 1.3.8a and am having a heck of a time figuring out why the SSL function is not working on our site: www.btc-boutique.com/store.

    The SSL is enabled and have modified the config.php code in both locations to read as follows:

    Main config.php:

    // 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://btc-boutique.com');

    define('HTTPS_SERVER', 'https://btc-boutique.com');



    // Use secure webserver for checkout procedure?

    define('ENABLE_SSL', 'True');



    Admin config.php:

    define('HTTP_SERVER', 'http://btc-boutique.com');

    define('HTTPS_SERVER', 'https://btc-boutique.com');

    define('HTTP_CATALOG_SERVER', 'http://btc-boutique.com');

    define('HTTPS_CATALOG_SERVER', 'https://btc-boutique.com');

    // Use secure webserver for catalog module and/or admin areas?



    define('ENABLE_SSL_CATALOG', 'true');



    define('ENABLE_SSL_ADMIN', 'true');



    It was working fine this morning before I went in and tried added the "www" to the domain so that it instead read:

    define('HTTPS_CATALOG_SERVER', 'https://www.btc-boutique.com');

    (unfortunately making that change made it so that the cart would not allow anyone to login, so I changed it back... and found out that despite undoing what I did.. the SSL no longer works.)

    HELP!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL not working

    Typo on this one:
    define('ENABLE_SSL', 'True');
    It needs to be lower case:
    define('ENABLE_SSL', 'True');
    Match the URL to the Secure Certificate ... if it is using www then all use www ... if it does not use the www then none use the www ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: SSL not working

    I have tried matching the url to what is on the certificate... but after I do, I (or anyone else for that matter) am unable to login. After submitting the email account and password at the login screen, it simply brings me back to the initial login screen again without logging me in or giving me any error.

    The ONLY change I have made at that point is adding the www. to the url in the config files.

    Any ideas why that would be happening?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL not working

    I would have to see your configure.php file, from the server, without your username or password or your real admin directory name ... as I am assuming you have changed it from /admin to something else ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL not working

    NOTE: be sure you check the files on the server ...

    It appears that your Catalog is using things without the www and breaking from what I can see ...

    You may be uploading the changes to the server but if the permissions are 444, for example, you cannot overwrite the files ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Feb 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: SSL not working

    I have posted the configure.php code in text documents and placed them at the following URLs: (minus the username and password of course)

    http://www.btc-boutique.com/configure_main.txt

    http://www.btc-boutique.com/configure_admin.txt

    Everytime I upload these configure.php files into the site, they break the site making it so that nobody can login to their account. I do make sure to change the permission to 644 first, upload them, then change the permission back to 444.

    Any ideas? I greatly appreciate your help.

  7. #7
    Join Date
    Feb 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: SSL not working

    I figured it out... actually you did... what I was missing was changine the line"

    define('ENABLE_SSL', 'True'); so that True was all lowercase...

    I know you told me that... but I just thought it was odd that the site worked with it as a capital before.

    All said and done... it works now and I probably never would have caught it without your help. Thanks a million.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL not working

    Thanks for the update that all is right in the world once more ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Feb 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SSL not working

    include/config page

    <?php
    /**
    * dist-configure.php
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
    * @private
    */
    // 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://mypokergirl.com');
    define('HTTPS_SERVER', 'https://mypokergirl.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // 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', 'https://mypokergirl.com/zencart/');
    define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/');

    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', '/');

    admin/includes config page.

    <?php
    /**
    * dist-configure.php
    *
    * @package Configuration Settings
    * @package Admin
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
    * @private
    */

    // 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
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    /*
    * URL's for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://mypokergirl.com');
    define('HTTPS_SERVER', 'https://mypokergirl.com');
    define('HTTP_CATALOG_SERVER', 'http://mypokergirl.com');
    define('HTTPS_CATALOG_SERVER', 'https://mypokergirl.com');

    // secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // 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_ADMIN', 'https://mypokergirl.com/zencart/admin/');
    define('DIR_WS_CATALOG', 'https://mypokergirl.com/zencart/');
    define('DIR_WS_HTTPS_ADMIN', 'https://mypokergirl.com/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/');


    am I missing something?

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SSL not working

    These are incorrect:
    // * 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_ADMIN', 'https://mypokergirl.com/zencart/admin/');
    define('DIR_WS_CATALOG', 'https://mypokergirl.com/zencart/');
    define('DIR_WS_HTTPS_ADMIN', 'https://mypokergirl.com/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/');
    Should be:
    // * 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_ADMIN', '/zencart/admin/');
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. SSL Not working
    By acreativepage in forum General Questions
    Replies: 4
    Last Post: 16 Oct 2008, 09:30 PM
  2. SSL not working.
    By jfreundn in forum General Questions
    Replies: 11
    Last Post: 12 Oct 2008, 08:56 AM
  3. SSL Not Working
    By spetznaz2588 in forum Basic Configuration
    Replies: 3
    Last Post: 30 Jul 2008, 03:44 PM
  4. SSL not working
    By janda3178 in forum General Questions
    Replies: 2
    Last Post: 14 Mar 2007, 02:41 AM
  5. SSL not working
    By bhpepper in forum General Questions
    Replies: 21
    Last Post: 13 Mar 2007, 01:38 PM

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