Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2014
    Posts
    2
    Plugin Contributions
    0

    Default Customer Login Time out in SSL during registration

    Hi,

    I have just installed ZenCart (version 1.5.1) on a site which is on SSL(https). I uploaded the packaged zip via FTP and then installed with zc_install after that. The problems is that whenever I try to register as a customer on the front-end of ZenCart, it displays "Login Time Out" page with the message "Whoops! Your session has expired.". This happens after I click on Submit after filling the registration form. I have tried cleaning the cache.
    I am able to login into backend(as admin) after making small change. I added the file https_cookie_domain into extra_configures folder for admin folder.
    Is the front-end error a cookie/session error. What changes are required to make the front-end work?
    Please help me in resolving this issue.
    Thanks.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: Customer Login Time out in SSL during registration

    What are the first couple of defines set to in /includes/configure.php?
    Code:
    // 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://example.com');
      define('HTTPS_SERVER', 'https://example.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'false');
    When you purchased your SSL certificate, was it for www.example.com or example.com (no leading www.)? They're different and your configure.php file should reflect the format that's associated with your certificate.

  3. #3
    Join Date
    Apr 2014
    Posts
    2
    Plugin Contributions
    0

    Default Re: Customer Login Time out in SSL during registration

    The first couple of lines in /includes/configure.php are :

    Code:
      define('HTTP_SERVER', 'https://dev1.example.com');
      define('HTTPS_SERVER', 'https://dev1.example.com/cart');
    
      define('ENABLE_SSL', 'true');
    
      define('DIR_WS_CATALOG', '/cart/zencart/ver_151/');
      define('DIR_WS_HTTPS_CATALOG', '/zencart/ver_151/');
    My shop url is https://dev1.example.com/cart/zencart/ver_151. The certificate is for example.com (not with www.)

    The Admin> Configuration> Sessions are:
    Code:
    Cookie Domain = True
    Force Cookie Use=false
    Check SSL Session ID=false
    Recreate Session =True
    Add period prefix to cookie domain=true
    What modifications I need to do to resolve this?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: Customer Login Time out in SSL during registration

    Try changing your configure.php to
    Code:
      define('HTTP_SERVER', 'https://dev1.example.com');
      define('HTTPS_SERVER', 'https://dev1.example.com');  //-Remove the /cart from this statement
    
      define('ENABLE_SSL', 'true');
    
      define('DIR_WS_CATALOG', '/cart/zencart/ver_151/');
      define('DIR_WS_HTTPS_CATALOG', '/cart/zencart/ver_151/');

 

 

Similar Threads

  1. 2chcekout shows "login time out" after the customer pays
    By lina0962 in forum Addon Payment Modules
    Replies: 16
    Last Post: 30 Sep 2015, 02:19 PM
  2. Customer Login time out error after adding confirm email address addon
    By abs007 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 29 Jan 2010, 08:02 PM
  3. Telephone number is lost during customer registration.
    By flyingpenguin in forum General Questions
    Replies: 5
    Last Post: 14 Aug 2009, 08:01 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