Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Error_security_error

    Hi all,

    In my local test site, I updated my 1.3.7.1 admin/login.php to 1.3.8.a.
    I wanted to test the admin side and probably made a typo with the password.
    Got the above message, but when typing in the right password, still couldn't get in.
    I restored from backup and could get back in.
    So decided to test on this one file, when inserting the new one I was locked up again.
    I checked with WinMerge and yes, there is a new code block by wilt precisely with this error message.
    Please help with this, I am stuck on the upgrade process here.
    Strange that a mere typo would totally block me off the site.
    Thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error_security_error

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Error_security_error

    Thanks for fast reply.
    I guess so.
    Read the tutorial, but I haven't customized my login files at all, so how do I fix this issue?
    Thanks.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error_security_error

    Maybe your PHP sessions aren't working either.
    What happens when you add something to the cart? Is it remembered?
    Or if you switch languages or currencies? Is it remembered?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Error_security_error

    Doc,

    For your information, I am working on a computer with XP SP3 as the OS, XAMPP latest version.
    On the test site, I have still the 1.3.7.1 version of admin/login.php, in order to get to the Admin side.
    I tested on two test customers and yes, shopping cart remembers products.
    Couldn't go much further on the shopping cart because I have already uninstalled all shipping and payment modules in preparation for upgrade.
    Cannot switch languages because removed the languages sidebox, maybe later I will install a language pack.
    When switching from dollars to Euro, calculations are performed fine.
    Now, upon inserting the 1.3.8a version of admin/login.php I get same error message: ERROR_SECURITY_ERROR in the login box.
    This is what is set in the if statement of the new code block.
    I can get back in, when restoring the old admin/login.php, because this new code block isn't there.
    Looking forward eagerly to your response.
    Thanks.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error_security_error

    Two things ... if you're literally seeing "ERROR_SECURITY_ERROR" then you've missed updating the language files ... specifically the one that contains the definition for that constant.

    Second, if you've missed language files, then maybe you've missed other files as well. There are a number of pieces involved in the security handler for Zen Cart. If you're not upgrading all the files, you're going to get undesired results. Which files did you skip upgrading, and why?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Error_security_error

    I take a very cautious, graded approach to this.
    I print out the changelog, update some files and test.
    If everything works, I check them and continue, otherwise I stop.
    In this case, I stopped.
    My extra caution pays off, because I can easily recover from a recent backup, until I find out what is going wrong.
    So now that I know, will update all files and check again.
    Will be back to you on this thread if problems persist.
    Thank you very much.

  8. #8
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Error_security_error

    I have now transfered all the changelog version 1.3.8 (since release of v 1.3.7), to my ex-1.3.7.1 test site.
    Then moved zc_install folder and attempted database upgrade.
    Got three errors:
    Skipped: cannot ADD column module_name because it already exists.
    Skipped: cannot ADD column module_mode because it already exists.
    Skipped: cannot CHANGE column zen_order_id because it does not exist.
    Of all three, the latter is the one that worries me most.
    How come this column does not exist, if I built this site from scratch on v. 1.3.7.1?
    Beats me, please help.
    Thanks in advance.

    PS. I already checked on security and yes!, I can now login into the Admin side.
    Thanks for the tips on this.
    Now waiting for response on database upgrade errors.
    Rechecking or retrying upgrade was to no avail, I got errors when retrying upgrade.
    Last edited by ckosloff; 18 May 2008 at 01:31 AM. Reason: missed something

  9. #9
    Join Date
    Jul 2005
    Posts
    537
    Plugin Contributions
    0

    Default Re: Error_security_error

    From my understanding, having read several forum posts about those kinds of messages, those are merely alerts which can generally be ignored.

    However, I would double-check one thing first ... did you import your old 1.3.7 database into the database you're using for testing your upgrade? (You said it was your ex 1.3.7.1 site that you had attempted to upgrade before but had problems. If you didn't import the 1.3.7 database again, then you've just upgraded an already-upgraded older old database ... in which case those informational alerts do mean something).
    If you "did" reload a copy of your 1.3.7 database onto your new 1.3.8 upgrade database, then those alert messages are probably misnomers.

  10. #10
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Error_security_error

    Hi,

    Thanks for quick reply.
    Answer is yes, I did import the 1.3.7.1 database into the test site, and upgraded that one.
    It is now a v.1.3.8a site.
    Actually I didn't have problems upgrading, the original issue arose because I stopped the upgrade.
    Now the questions:
    Maybe the fact that there is no zen_order_id table is because we have not yet taken orders over the Internet?
    Or should I just create it and attempt upgrade again?
    Also, when hitting the "upgrade database" button again, I got query errors, maybe because I am using mysql5?
    Lots of doubts in my mind...
    Lastly, I think that I should create a new thread for this, since it is no longer relevant to the security errors that prompted me to start it.
    Best regards.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 "ERROR_SECURITY_ERROR" when accessing admin in spanish
    By dimtank in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 20 Jun 2012, 11:46 PM
  2. Logging into admin and i get "ERROR_SECURITY_ERROR"
    By buyashed in forum General Questions
    Replies: 5
    Last Post: 23 Aug 2011, 06:41 PM
  3. Suddenly get ERROR_SECURITY_ERROR
    By acwinc in forum General Questions
    Replies: 5
    Last Post: 7 Dec 2010, 12:59 PM
  4. ERROR_SECURITY_ERROR after log in changes
    By jurjenruben in forum General Questions
    Replies: 2
    Last Post: 20 Mar 2008, 02:10 AM
  5. Update to 1.3.8 now get checkout ERROR_SECURITY_ERROR
    By IllusionGuy in forum General Questions
    Replies: 8
    Last Post: 6 Jan 2008, 02:20 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