Forums / Managing Customers and Orders / Customer Login 'There was a security error when trying to login'

Customer Login 'There was a security error when trying to login'

Locked

Started by webzuma on 8 Feb 2008, 12:55 PM · Views: 10,709

Results 21 to 27 of 27
This thread is locked. New replies are disabled.
30 Apr 2008, 8:11 PM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Customer Login 'There was a security error when trying to login'

Something is preventing your site from properly starting a session.
Proof of that is in not only the error message you initially reported, but also in the fact that if you change currencies via the pulldown menu in the sidebox, it doesn't remember the selection.

Maybe you've fudged the session settings or the server's unable to store session details properly (is your cache folder writable?), or you've got .htaccess redirects set up which are causing confusion by translating something incorrectly, or it's trying to set session cookies using bad domain information ... it could be any number of things, sadly outside the control of Zen Cart itself.

You said you "fixed the admin" ... care to elaborate?

.
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.

1 May 2008, 12:16 AM
#22
crisand avatar

crisand

New Zenner

Join Date:
Feb 2008
Posts:
39
Plugin Contributions:
0

Re: Customer Login 'There was a security error when trying to login'

I have asked this question before so my apologies, but what do I need to do with these files to make them work. I was having no problem logging in until I put in place the site security steps and then I was unable to. What may I have done to upset this.
With urgent thanks.

10 Nov 2009, 12:52 AM
#23
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Re: Customer Login 'There was a security error when trying to login'

I have changed my website from http://subjectmatters.ca to
http://talkingwalls.ca.
They assured me that all would work well...:no:
I actually thought that it was, but I keep getting that error login from my customers.
I checked the sessions.php and get
@copyright Copyright 2003-2007 Zen Cart Development Team

I've not changed the - /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php

  • /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php
    and <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
    is in the right place.

I've also the css to make sure that this is included.
.hiddenField {
display:none
}
.visibleField {
display: inline;
}
Is there a place that I need to change the urls to make this work?

Francine Harvey
http://talkingwalls.ca
Love is the beginning of knowledge.

10 Nov 2009, 12:07 PM
#24
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Re: Customer Login 'There was a security error when trying to login'

I know this is an old thread but??Not one of my customers can log in including myself. If I knew how to delete them all I would...it seems like the only solution to me. People are emailing saying they can't get in...and I have no clue what to do...does anyone have any other suggestions? I can't find anything else written.

Francine Harvey
http://talkingwalls.ca
Love is the beginning of knowledge.

24 Mar 2010, 12:57 AM
#25
chrissiemags avatar

chrissiemags

New Zenner

Join Date:
Sep 2008
Posts:
40
Plugin Contributions:
0

Re: Customer Login 'There was a security error when trying to login'

DrByte:

From the header inside your /includes/functions/sessions.php file on your server, what is the version number and date stamp?

What should I have I'm having somewhat of t the same issue since I upgraded and mine reads:

/**

  • functions/sessions.php
  • Session functions
  • @package functions
  • @copyright Copyright 2003-2007 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: sessions.php 6662 2007-08-12 21:37:17Z wilt $

I've followed the previous thread and still it's not working..UGH

It seems that all my old customers who registered BEFORE I did the upgrade can no longer log in but any new customers who have registered after the upgrade have no problem logging back in :(

Any help is appreciated :hug:

8 Jun 2010, 2:06 PM
#26
starwynn_games avatar

starwynn_games

New Zenner

Join Date:
Jun 2010
Posts:
1
Plugin Contributions:
0

Re: Customer Login 'There was a security error when trying to login'

OK, I'm also having this problem, I upgraded from 1.3.7 to the latest 1.3.9d and now my customers cannot log in.

Tried following the FAQ but the following files do not exist:
/includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php

My /includes/functions/sessions.php is vanilla and up to date.

Anyone have any suggestions or need any more information to help me with this issue?

Thanks

11 Jun 2010, 3:21 PM
#27
throwdown avatar

throwdown

New Zenner

Join Date:
Aug 2009
Posts:
50
Plugin Contributions:
0

Re: Customer Login 'There was a security error when trying to login'

Starwynn Games:

OK, I'm also having this problem, I upgraded from 1.3.7 to the latest 1.3.9d and now my customers cannot log in.

Tried following the FAQ but the following files do not exist:
/includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php

My /includes/functions/sessions.php is vanilla and up to date.

Anyone have any suggestions or need any more information to help me with this issue?

Thanks

I did the upgrade (currently on b tho) and i'm having the same issue as one of our customers just brought to our attention. I tried to login with a personal account for testing and same issue.