| |

Zen Cart FIX – Customer can’t log in. Error msg: There was a security error when trying to login.

Problem: Customer can’t log in
Error message: “There was a security error when trying to login.”

FIX: http://tutorials.zen-cart.com/index.php?article=312

ALL new templates need the following code added to their tpl_login_default.php file

  • line 50: <?php echo zen_draw_hidden_field(‘securityToken’, $_SESSION[‘securityToken’]); ?>
  • line 79: <?php echo zen_draw_hidden_field(‘securityToken’, $_SESSION[‘securityToken’]); ?>

(Original master file is here: root > includes > templates > template_default > templates > tpl_login_default.php)

Similar Posts

3 Comments

  1. With havin so much content do you ever run into any issues of
    plagorism or copyright infringement? My website has a lot of
    completely unique content I’ve either authored myself or
    outsourced but it looks like a lot of it is popping it up all over
    the web without my agreement. Do you know any techniques to help protect against content from being ripped off?
    I’d really appreciate it.

Leave a Reply

Your email address will not be published. Required fields are marked *