Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Kansas City
    Posts
    2
    Plugin Contributions
    0

    Default Re: Shared SSL + login problem

    I have the same issue.

  2. #2
    Join Date
    Sep 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Shared SSL + login problem

    I have a slightly different issue, in my config file at the moment SSL is turned off. However if I turn SSL on when a customer tries to login the system creates a link like this:

    HTTPS://www.mydomainname.co.uk/HTTPS...mainname.co.uk

    I use 1and1 for my hosting and use a shared certificate which when installed zencart I entered the correct details which are:

    define('DIR_WS_HTTPS_CATALOG', 'https://sslrelay.com/mydomainname.co.uk/shop/');

    I don't understand why the system is trying to put the standard HTTP domainname first.

    Top of my config file is below:


    /*************** 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.mydomainname.co.uk');
    define('HTTPS_SERVER', 'https://www.mydomainname.co.uk');

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

    // 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://sslrelay.com/mydomainname.co.uk/shop/');

  3. #3
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Shared SSL + login problem

    To jinglezdj:

    I don't think you are intended to use DIR_WS_HTTPS_CATALOG in that way. I think that var should only be a relative path, not the full http(s) path. The full path HTTPS_SERVER is concatenated with the relative path DIR_WS_HTTPS_CATALOG to produce the result you are seeing.

    In my config you can see a "correct" relative path for DIR_WS_HTTPS_CATALOG. I say it is correct because I did not futz with it - not because I have a website that works. :-I

  4. #4
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Shared SSL + login problem

    Hi All.

    Bouncing around the forums for 2 days, I was able to find this:
    http://www.zen-cart.com/forum/showthread.php?t=15081
    from many moons ago.

    This seems to imply that $request_type variable may be involved in the cross wires, causing the login woes I described - shared SSL with hostmonster is not allowing admin or customers to login correctly.

    In files:
    includes/init_includes/init_file_db_names.php
    admin/include/init_includes/init_file_db_names.php

    on line 18, $request_type gets set with a long hairy expression.

    I tried the simple fix of putting this kind of logic:
    if server == mydomain request_type = NONSSL
    if server == hostmonster request_type = SSL
    under the existing line 18 (and I turned on SSL in admin/include/configure.php and include/configure.php) and I did not immediately meet with success.

    But to one of the Zen-cart developers:
    Can you at least tell me whether this is a plausible path to pursue? Should I go through the effort of decoding all the logic on line 18 and compounding it with (server== mine | shared) logic so that my admin and customers can log in using shared SSL?

    Thanks

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

    Default Re: Shared SSL + login problem

    [Got no help, upgraded all to private SSL]

 

 

Similar Threads

  1. v154 Login not working getting 404. Shared SSL problem
    By QuickBooksDev in forum Basic Configuration
    Replies: 2
    Last Post: 2 Jan 2016, 09:15 PM
  2. admin login on shared SSL not pointing correctly
    By shufflenz in forum General Questions
    Replies: 1
    Last Post: 22 Jul 2010, 01:09 PM
  3. shared ssl problem
    By clr in forum General Questions
    Replies: 4
    Last Post: 30 Jun 2007, 11:48 AM
  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

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