Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2014
    Location
    Illinois, United States
    Posts
    11
    Plugin Contributions
    0

    Default ssl problem- admin login after every click

    I have been upgrading from 1.3.8 to 1.5.1. This happened after setting up my shared SSL (i am soon moving to private ssl) , After logging in my admin, any click I make within, I get the login page again. after re-entering username and password,it takes me to the place I need to be. I guess I could live with it, but it's a little tedious. Admin and store seem to be working fine. below is the admin/configure.php


    Thanks for any help


    WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
    * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
    */
    define('HTTP_SERVER', 'http://cstrucktops.com');
    define('HTTPS_SERVER', 'https://secure.bluehost.com/~myaccount');
    define('HTTP_CATALOG_SERVER', 'http://cstrucktops.com');
    define('HTTPS_CATALOG_SERVER', 'https://secure.bluehost.com/~myaccount');

    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'true');

    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', '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)
    $t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];

    define('DIR_WS_ADMIN', '/cs_truck_tops/myadmin/');
    define('DIR_WS_CATALOG', '/cs_truck_tops/');
    define('DIR_WS_HTTPS_ADMIN', '/cs_truck_tops/myadmin/');
    define('DIR_WS_HTTPS_CATALOG', '/cs_truck_tops/');

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

    Default Re: ssl problem- admin login after every click

    What happens if you make the following change in your admin's /includes/configure.php file?
    Code:
    define('HTTP_SERVER', 'https://secure.bluehost.com/~myaccount');

  3. #3
    Join Date
    Feb 2014
    Location
    Illinois, United States
    Posts
    11
    Plugin Contributions
    0

    Default Re: ssl problem- admin login after every click

    Thanks. I applied 'https://secure.bluehost.com/~myaccount' to all 4 lines and it seems to work.

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

    Default Re: ssl problem- admin login after every click

    Quote Originally Posted by Jeff Conway View Post
    Thanks. I applied 'https://secure.bluehost.com/~myaccount' to all 4 lines and it seems to work.
    You really want to leave your non-SSL store link alone:
    Code:
    define('HTTP_SERVER', 'https://secure.bluehost.com/~myaccount');
    define('HTTPS_SERVER', 'https://secure.bluehost.com/~myaccount');
    define('HTTP_CATALOG_SERVER', 'http://cstrucktops.com');
    define('HTTPS_CATALOG_SERVER', 'https://secure.bluehost.com/~myaccount');
    
    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'true');
    
    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', 'true');

 

 

Similar Threads

  1. v153 Can't login to admin after SSl was disabled, How to restore admin access?
    By alpheus in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 20 Dec 2014, 09:34 PM
  2. SSL goes off every time I click something
    By GWCorp in forum General Questions
    Replies: 2
    Last Post: 22 Jan 2014, 10:15 PM
  3. v139h Admin Login problem after Netfirms added SSL to my site
    By mike_m29 in forum General Questions
    Replies: 9
    Last Post: 9 Apr 2012, 06:45 PM
  4. Every click sends me to Admin log-in page
    By em4u in forum Basic Configuration
    Replies: 2
    Last Post: 26 Feb 2008, 12:48 PM
  5. 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