
Originally Posted by
shags38
Hi Anne,
this is a longshot but I am desperate - I have an issue with customer login - getting a security warning error. Does your template customize /includes/functions/sessions.php file at all?
Please see FAQ re this problem below with this reference.
cheers,
Mike
FAQ
There was a security error when trying to login
Situation:
I'm getting this error when trying to login from the customer screen "There was a security error when trying to login"
Cause:
Zen Cart has a security feature to prevent spoofed external logins. A "security token" field must exist on all login forms, actually on all forms submitting data via POST. This token must be current (not expired), and must be submitted with the rest of the form data; in the case of login, that would be the login username+password in order for logins to work properly.
Remedy:
All your forms, both admin and non-admin, need to use zen_draw_form() instead of hard-coding a <form> tag.
Additionally, if you have customized your /includes/functions/sessions.php file for some reason, you'll also need to merge the new changes for this core file into your customized version.
Bookmarks