If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / There was a security error when trying to login

There was a security error when trying to login

Locked

Started by bubaphex on 13 Jan 2009, 10:11 PM · Views: 1,039

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
13 Jan 2009, 10:11 PM
#1
bubaphex avatar

bubaphex

New Zenner

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

Post #1 by bubaphex

Hey there,

I get this error when trying to log in on the front end:

There was a security error when trying to login

Yup i have read the FAQ Page (https://www.zen-cart.com/tutorials/index.php?article=312)

I found

  • /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php

but i dont have

  • /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php

i made changes in

  • /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php

I placed

<?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>

below every occurrence of the password field (zen_draw_password_field function). It occurred twice in that file.

There has been no changes made in includes/functions/sessions.php

I enabled the old template (the native one) and it still get the same problem.

I remember selecting something in the back end about logging users when they log on, (something along those lines) so i think that might be were the problem is occurring. I cant find that option now so if any one knows what im talking about can they point me in the right direction.

can any one shed some light on this problem please.

Thank you

Rob