Zen Cart Logo
Forums / General Questions / Logging into admin and i get "ERROR_SECURITY_ERROR"

Logging into admin and i get "ERROR_SECURITY_ERROR"

Locked

Views: 1,800

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Feb 2008, 7:28 AM
#1
buyashed avatar

buyashed

New Zenner

Join Date:
May 2007
Posts:
36
Plugin Contributions:
0

Logging into admin and i get "ERROR_SECURITY_ERROR"

I've tried logging into my admin, as far as i'm aware
i've made no changes to it but now i keep getting this
ERROR_SECURITY_ERROR when i try to log in.

I've tried adding a new password in the mysql, I've
also tried replacing the login.php but i don't know
what else to try.

Any help or ideas would be greatly appreciated.

Cheers, ToNy!

6 Feb 2008, 7:46 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Logging into admin and i get "ERROR_SECURITY_ERROR"

Two things:

  1. ERROR_SECURITY_ERROR is a constant defined in your language files. If you're seeing the name of the constant instead of its definition, you've missed updating your language files during your upgrade, or you've installed older-version files perhaps as part of an addon contribution you've uploaded.

  2. If it's also happening in your storefront, then your template files need to be upgraded as well ...
    FAQ: https://www.zen-cart.com/tutorials/index.php?article=312

.
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.

26 Nov 2010, 6:05 PM
#3
angeljusto avatar

angeljusto

New Zenner

Join Date:
Jan 2009
Posts:
5
Plugin Contributions:
0

Re: Logging into admin and i get "ERROR_SECURITY_ERROR"

I got this error in the admin but it was caused by a faulty path to the session.save_path, that you can of course set up in the admin > configure > Sessions. But, since I had no access to the admin, I corrected the path via phpMyAdmin, searching the configuration table for part of the faulty path.

26 Nov 2010, 6:15 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Logging into admin and i get "ERROR_SECURITY_ERROR"

Thanks for sharing.

Instead of using phpMyAdmin to mess with the raw database, you could use the fix_cache_key utility from the Free Addons area to accomplish the same thing :blush:

.
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.

23 Aug 2011, 11:01 AM
#5
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Re: Logging into admin and i get "ERROR_SECURITY_ERROR"

My site got hacked and I tried to reset admin password through sql and now end up with serurity error. Do i just remove all tables from sessions?

23 Aug 2011, 5:41 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Logging into admin and i get "ERROR_SECURITY_ERROR"

No. You need to do a thorough cleanup of all damage done. And that includes upgrading to the latest version.
http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks

.
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.