i have just upgraded and now getting this error when trying to login from customer screen "There was a security error when trying to login"
i have just upgraded and now getting this error when trying to login from customer screen "There was a security error when trying to login"
You didn't upgrade your /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php file to use the new code.
Remember, when upgrading, you need to merge the changes from the new code into all your customized files, or else you will end up missing new functionality.
.
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.
Thanks Mr Byte
what about in admin - getting the same thing there
The full-time Zen Cart Guru. WizTech4ZC.com
I guess a little explanation would be helpful. I have a demo zencart with no changes. I uploaded the new version. Database changes made. Now can't get in.
Also installed a brand new cart - no problems at all there.
The full-time Zen Cart Guru. WizTech4ZC.com
I'm getting the same thing and I'm not sure what Dr Byte's answer is telling me.
Would you mind giving a bit of detail to explain what to do?
Sorry to be a noob. I didn't think I was, but it seems I am here.
Steven
where is your problem? admin or as customer in the cart?
The full-time Zen Cart Guru. WizTech4ZC.com
FAQ on the "security error when trying to login" issue:
https://www.zen-cart.com/tutorials/i...hp?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.
I read the FAQ but it is not quite for my problem.
I am a ZC newbie. I did my first install on Nov. 30, so by chance, I started with v1.3.8. I did the install with SSL 'false' in the various files because the SSL certificate I'd just purchased hadn't been installed yet. Everything went very well, and the login process was functioning correctly.
Today, with my SSL certificate in place, I went about installing the Google Checkout payment module. I customized various "login" files, and I changed those SSL 'false' lines to 'true'.
Then I discovered the "There was a security error when trying to login" problem.
At first I thought I'd erred in the SSL settings. But having read this thread, I think the Google module I downloaded from Google.com lacks the new "security token" portions in the files:
- /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
- /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php
(and (?) /admin/login.php).
Since I'm new, started with v1.3.8, have nothing old to copy from, and am not much of a programmer, I really don't know what code I need to insert into those files, and exactly where I should insert it. I'm also not 100% sure that my SSL setting is unrelated to the problem.
I would greatly appreciate any advice.
Thanks!
Your URL?
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Bookmarks