Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2008
    Location
    Copenhagen
    Posts
    22
    Plugin Contributions
    0

    Default Problems with setting up SSL

    I recently turned on SSL for my site (www.halfletterpress.com/store). I am getting an extra "https" in the URL when I try to login as a customer.

    It looks like this: https://secure1.gate.com/ssl/halflet...ain_page=login

    This results in an error. When I correct the URL the customer login page appears, but the entire site is then missing a bunch of information, the formatting is gone, and in general looks bad. How do I correct this?

    Thank you.
    Last edited by Kim; 8 Jul 2008 at 03:04 PM.

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

    Default Re: Problems with setting up SSL

    Please post your includes/configure.php minus your database information.
    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
    Jul 2008
    Location
    Copenhagen
    Posts
    22
    Plugin Contributions
    0

    Default Re: Problems with setting up SSL

    This was the only part of the file that I changed:

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.halfletterpress.com');
    define('HTTPS_SERVER', 'https://secure1.gate.com/ssl/halflett/store');

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

    The site is hosted by gate.com and the URL is the one they provided for their shared SSL Certificate.

    Thanks for your help.

    Brett

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

    Default Re: Problems with setting up SSL

    You have only posted a peice of the configure.php file that Kim requested to help you and that peice shows errors ... not sure what other errors there are with your configure.php files ...

    You have:
    define('HTTP_SERVER', 'http://www.halfletterpress.com');
    define('HTTPS_SERVER', 'https://secure1.gate.com/ssl/halflett/store');
    but you should be using:
    define('HTTP_SERVER', 'http://www.halfletterpress.com');
    define('HTTPS_SERVER', 'https://secure1.gate.com/ssl/halflett');
    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
    Jul 2008
    Location
    Copenhagen
    Posts
    22
    Plugin Contributions
    0

    Default Re: Problems with setting up SSL

    Thanks for your help. It is greatly appreciated. This was the only part of that file that I changed. The rest stayed exactly as I got it when downloaded.

  6. #6
    Join Date
    Jul 2008
    Location
    Copenhagen
    Posts
    22
    Plugin Contributions
    0

    Default Re: Problems with setting up SSL

    I just made this change, but it still doesn't work. When I try to do a secure customer login, the link creates a URL with an additional HTTPS in it. And I am unable to have a secure admin session as well. What am I doing wrong?

    Thanks.

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

    Default Re: Problems with setting up SSL

    It would really help to see the whole configure.php file, from the server, without your username and password, so that we could identify all of the errors and issues ...
    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!

  8. #8
    Join Date
    Jul 2008
    Location
    Copenhagen
    Posts
    22
    Plugin Contributions
    0

    Default Re: Problems with setting up SSL

    Ok. Here it is. Thank you.

    ---

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @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
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.halfletterpress.com');
    define('HTTPS_SERVER', 'https://secure1.gate.com/ssl/halflett');

    // 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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', 'https://');

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

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/nfs/cust/6/68/36/863866/web/store/');

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

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'mysql.halfletterpress.com');
    define('DB_SERVER_USERNAME', 'xxx');
    define('DB_SERVER_PASSWORD', 'xxx');
    define('DB_DATABASE', 'xxx');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/nfs/cust/6/68/36/863866/web/store/cache');

    // EOF

  9. #9
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Problems with setting up SSL

    // 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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', 'https://');
    Change to:


    // 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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    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.

  10. #10
    Join Date
    Jul 2008
    Location
    Copenhagen
    Posts
    22
    Plugin Contributions
    0

    Default Re: Problems with setting up SSL

    It works now! Thank you so much. I really appreciate it.

    Best,

    Brett

 

 

Similar Threads

  1. v153 Problems with setting my country
    By madalex28 in forum Customization from the Admin
    Replies: 1
    Last Post: 13 Sep 2014, 07:03 PM
  2. Help with SSL and setting up the Shopping cart to run it.
    By cushietushies in forum General Questions
    Replies: 2
    Last Post: 22 Sep 2008, 01:27 AM
  3. Help! Problems With Setting Up Free Downloads
    By neilbroomfield in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 20 Aug 2008, 04:02 AM
  4. 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
  5. Problems with setting up Downloads
    By tolefairy in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Mar 2007, 09:43 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