Situation:
I have just upgraded and now getting this error when trying to login from the customer screen "There was a security error when trying to login"
Cause:
Zen Cart™ v1.3.8 has an added security feature to prevent spoofed external logins. A "security token" field has been added to all login forms. This token must be current (not expired), and must be submitted with login username+password in order for logins to work properly.
Remedy:
If you have customized template "login" files, the new security features need to be merged into your customized template files.
The following files are affected:
- /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
- /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php
And if you're encountering it in your Admin area, this file is affected as well:
- /admin/login.php
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