Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    application error There was a security error.....

    The error:

    "There was a security error when trying to login"

    Has suddenly appeared during the customer login (Admin not a problem) I have searched these forums and the only hits I found were related to upgrading problems. (This is Not an upgrade). This site was moved some months ago and quite frankly I don't know if our client ever tested it enough to determine if that error has existed since then or before then. Either way I need to find the source of the error.

    I have reviewed and done ALL of the suggestions found on this forum thus far. There is a security token field in the login for with a security ID. I have reviewed the code in /includes/modules/pages/login/header.php and can see that, "tokens don't match", is one of the error conditions. I suspect the token is there (it is in the form) but it must not be matching or the $_SESSION['securityToken'] is missing. How does one "reset" this token? (I have cleared the cache and cleared all cookies as a test a number of times, no joy. The cookie tokens match the token in the form.). I have also reviewed the "session" settings in the Admin and don't see anything that would relate to this issue, but maybe I'm misunderstanding the effects of some of those settings. (also the session settings in the php.ini were reviewed) Error was duplicated on IE, Firefox and Safari. Cookies are enable in all cases. (BTW, my company is hosting this site so I have complete control over the php settings, we have a number of other zen cart installs working just fine)

    Any suggestions on tracking this down would be appreciated.. I am currently out of fresh ideas..

    Thanks.. John..

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: There was a security error.....

    When you reply scroll up and read pasting tips
    Answer the questions/provide the information
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: There was a security error.....

    Quote Originally Posted by kobra View Post
    When you reply scroll up and read pasting tips
    Answer the questions/provide the information
    I did, and answered all pertinent questions, search the forums, reviewed the FAQs.. (The post asked for the cart version but I see that it did not include that with the post.. It is 1.3.8a)

    What is it that you think is missing..?

    Thanks.. John...

  4. #4
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: There was a security error.....

    You should probably start by upgrading to at least 1.3.9h if not 1.5.x. There are a number of security issues with running old versions of Zen Cart. The older versions were written before the current versions of PHP and MySQL were released and are not as compatible.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  5. #5
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: There was a security error.....

    Quote Originally Posted by lhungil View Post
    You should probably start by upgrading to at least 1.3.9h if not 1.5.x. There are a number of security issues with running old versions of Zen Cart. The older versions were written before the current versions of PHP and MySQL were released and are not as compatible.
    Good suggestion.. The problem is convincing the client. I was hoping to at least get them working at minimal cost to them and then recommend an upgrade for added security..etc... Do you have any suggestions as to what would cause the "security token" to become "miss matched" and how I might reset that..?

    Thanks..

 

 

Similar Threads

  1. There was a security error when trying to login
    By Amazingworlds in forum General Questions
    Replies: 2
    Last Post: 15 Nov 2011, 01:32 PM
  2. There was a security error when trying to login
    By driesbe in forum General Questions
    Replies: 0
    Last Post: 23 Sep 2010, 11:11 PM
  3. There was a security error when trying to login.
    By ozetrade in forum General Questions
    Replies: 1
    Last Post: 24 Mar 2010, 03:51 AM
  4. There was a security error when trying to login
    By phil8340 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 18 Jan 2009, 06:36 AM
  5. There was a security error when trying to login
    By elgar in forum General Questions
    Replies: 5
    Last Post: 29 Jul 2008, 01:15 PM

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