Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Location
    Worcester UK
    Posts
    135
    Plugin Contributions
    0

    Default Admin log-In fail with http security message

    The browsers Firefox and Chrome are delivering a security message that prevents me logging into the Admin Area.


    THE PROBLEM
    At
    https://rarecoinsandtokens.co.uk/zcadmin/login.php


    The message has a red strike through padlock (but not on the address bar at top) and reads.
    “This connection is not secure. Logins entered here could be compromised”
    When I press Continue, another pop up is presented with a similar message.
    Although the popup offers a button to Continue, it cycles back to the login page, not onto the admin.


    THE HOSTING SERVICE ADVICE:


    My Hosting service has advised me as follows.
    “The message "Mixed Content: The page at 'https://rarecoinsandtokens.co.uk/zcadmin/login.php' was loaded over a secure connection, but contains a form that targets an insecure endpoint http://rarecoinsandtokens.co.uk/zcad...rn29cu48uoes67 means that while the webpage itself is secured with HTTPS, there is a form on the page that is submitting data to an insecure HTTP link instead of an HTTPS link. The insecure endpoint refers to the HTTP URL where the login form is submitting data. To resolve this, we recommend reaching out to your web developer and go through your template files and website content and ensure that all sources/links are HTTPS.”


    EFFORTS TO RESOLVE
    I cannot find where the login.php is targetting an insecure end point.
    I have found the only two references in https://rarecoinsandtokens.co.uk/zcadmin/login.php
    to http as follows:


    Lines 63 – 65


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
    <head>


    I cannot enter the admin area to aquire logs.


    This is a new development.
    There have been no file changes to trigger this lock out.


    Can someone help throw some light please.


    ZC Ver 1.5.5b (about to upgrade to current)


    Many thanks
    kevin_a

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,334
    Plugin Contributions
    94

    Default Re: Admin log-In fail with http security message

    Make sure that the server-related settings in zcadmin/includes/configure.php look like the following, i.e. each definition starts with https://
    Code:
    /**
     * Enter the domain for your Admin URL. If you have SSL, enter the correct https address in the HTTP_SERVER setting, instead of just an http address.
     */
    define('HTTP_SERVER', 'https://rarecoinsandtokens.co.uk');
    /**
     * Note about HTTPS_SERVER:
     * There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
     */
    
    /**
     * Note about DIR_WS_ADMIN
     * The DIR_WS_ADMIN value is now auto-detected.
     * In the rare case where it cannot be detected properly, you can add your own DIR_WS_ADMIN definition below.
     */
    
    /**
     * Enter the domain for your storefront URL.
     * Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
     */
    define('HTTP_CATALOG_SERVER', ' https://rarecoinsandtokens.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://rarecoinsandtokens.co.uk');
    
    /**
     * Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
     */
    define('ENABLE_SSL_CATALOG', 'true');

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,281
    Plugin Contributions
    125

    Default Re: Admin log-In fail with http security message

    Sometimes it's a coding issue inside your template - see

    https://docs.zen-cart.com/user/runni...#mixed-content
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Mar 2007
    Location
    Worcester UK
    Posts
    135
    Plugin Contributions
    0

    Default Re: Admin log-In fail with http security message

    THANKYOU! Lat9
    The problem resolved by following your advice.
    best wishes
    kevin_a

    (and thankyou swguy... fortunately no need to look further)
    Last edited by kevin_a; 19 Mar 2025 at 07:04 PM.
    kevin_a

 

 

Similar Threads

  1. v157 HTTP 500 on store page, log into admin just fine
    By bigandrew in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 9 Jun 2021, 09:08 PM
  2. Replies: 6
    Last Post: 28 Dec 2012, 09:38 PM

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