Zen Cart Logo
Forums / General Questions / Customer Password not working

Customer Password not working

Views: 2,577

Results 1 to 15 of 15
11 Oct 2011, 11:18 PM
#1
gigics avatar

gigics

New Zenner

Join Date:
May 2011
Posts:
17
Plugin Contributions:
0

Customer Password not working

Hi,

I'm using:
Zen Cart 1.3.9h
Database Patch Level: 1.3.9h

This site was set up in July of this year and has been working just fine. I haven't done much customizing except for small CSS things like color.

Everything has been running just fine until today. I have one customer who cannot login although she did so successfully yesterday. I sell digital downloads. She needs to login to re-download something and can't. She used the link about forgotten password but what was sent won't allow her to login either. I have tried searching but all the topics I have found are about admin passwords.

Is there a way for me to reset this account or to get her a new password that actually works?

Thanks in advance
GiGi

12 Oct 2011, 4:11 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Customer Password not working

The built-in password reset works just fine as long as you've not set the minimum password length to some insanely low number like less than 5.
And, each time they use that it replaces their old password, so EVERY password they used previously is no longer valid.
So, to login they MUST wait for the email and use that new password.
Making multiple requests in a short time will result in them not knowing which new password is correct.

You could install the Encrypted Master Password addon, and see whether that allows you to login as the customer, and then change their password for them.

12 Oct 2011, 4:14 PM
#3
gigics avatar

gigics

New Zenner

Join Date:
May 2011
Posts:
17
Plugin Contributions:
0

Re: Customer Password not working

Thank you for your response. Another resource recommended a different add on that has solved the problem.

GiGi

12 Oct 2011, 5:27 PM
#4
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Password not working

DrByte:

The built-in password reset works just fine as long as you've not set the minimum password length to some insanely low number like less than 5.
And, each time they use that it replaces their old password, so EVERY password they used previously is no longer valid.
So, to login they MUST wait for the email and use that new password.
Making multiple requests in a short time will result in them not knowing which new password is correct.

You could install the Encrypted Master Password addon, and see whether that allows you to login as the customer, and then change their password for them.

The same thing just began happening on one of my websites, recently upgraded to 1.3.9.h. Customer could not log in. Got "no match for that email address and/or password" message. I tried logging in using master password on several customer accounts with no success. I have the Encrypted Master Password add-on.

Also find that if I try to re-enter sign in info after getting the error the screen goes blank when submitted. Here is the last debug log entry:

[12-Oct-2011 13:01:53] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/wilks/www/www/includes/configure.php:1) in /home/wilks/www/www/includes/functions/sessions.php on line 114
[12-Oct-2011 13:01:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wilks/www/www/includes/configure.php:1) in /home/wilks/www/www/includes/init_includes/init_templates.php on line 78
Does this give a clue to what went wrong?
Ron

12 Oct 2011, 5:42 PM
#5
gigics avatar

gigics

New Zenner

Join Date:
May 2011
Posts:
17
Plugin Contributions:
0

Re: Customer Password not working

DrByte:

The built-in password reset works just fine as long as you've not set the minimum password length to some insanely low number like less than 5.
And, each time they use that it replaces their old password, so EVERY password they used previously is no longer valid.
So, to login they MUST wait for the email and use that new password.

Thank you for trying to help but actually, this information is not totally correct. I did not reset the length of the password or do anything in administration that would affect any password or account. In fact, I had not been in the admin side for several days when this came up.

My customer requested a new password three different times, several hours apart each time and, after receiving each email, none of them worked. We were unable to get her logged in no matter what we did.

This exact same situation has just happened to me as I attempted to login to my account on another Zen Cart site so I know that the password reset does not work correctly all of the time. That site owner just deleted my account so I could create a new one. That unfortunately deletes my history on that site so I had hoped for a more elegant solution for my customer.

Thank you for trying to help though,
GiGi

12 Oct 2011, 5:49 PM
#6
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Password not working

I'm havng same problem as GigCS. Did a full restore from backup my host did a few days ago and problem persists. Symptoms vary between getting a blank screen or the error message.

Ron

ronlee67:

The same thing just began happening on one of my websites, recently upgraded to 1.3.9.h. Customer could not log in. Got "no match for that email address and/or password" message. I tried logging in using master password on several customer accounts with no success. I have the Encrypted Master Password add-on.

Also find that if I try to re-enter sign in info after getting the error the screen goes blank when submitted. Here is the last debug log entry:

Does this give a clue to what went wrong?
Ron

12 Oct 2011, 5:54 PM
#7
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Password not working

GigiCS:

Are you using Internet Explorer?

I normally use IE and am getting this problem. I just tried Firefox and all is well.

My thinking is that Microsoft may have updated IE overnight and there is a glitch.

Ron

12 Oct 2011, 6:20 PM
#8
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Password not working

I take it back. Now I can't log in with IE, Firefox or Chrome. Apparently barking up the wrong tree.

I can log into the admin okay.

It does seem to be something external to Zencart because it happened to both of us on the same day to perfectly working websites.

Ron

ronlee67:

GigiCS:

Are you using Internet Explorer?

I normally use IE and am getting this problem. I just tried Firefox and all is well.

My thinking is that Microsoft may have updated IE overnight and there is a glitch.

Ron

12 Oct 2011, 6:24 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Customer Password not working

ronlee67:

[12-Oct-2011 13:01:53] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/wilks/www/www/includes/configure.php:1) in /home/wilks/www/www/includes/functions/sessions.php on line 114
[12-Oct-2011 13:01:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wilks/www/www/includes/configure.php:1) in /home/wilks/www/www/includes/init_includes/init_templates.php on line 78
That's all a result of you having blank spaces or extra letters/characters on line 1 of your configure.php file, as the error message says.
c/f: https://www.zen-cart.com/tutorials/index.php?article=87

12 Oct 2011, 6:28 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Customer Password not working

GigiCS:

Thank you for trying to help but actually, this information is not totally correct. I did not reset the length of the password or do anything in administration that would affect any password or account. In fact, I had not been in the admin side for several days when this came up.I wasn't suggesting that you had recently changed the setting. Merely that sometimes people think they're smart by shortening the minimum length, and if you'd done that (whether today or yesterday or 3 years ago), that could complicate things.
GigiCS:

This exact same situation has just happened to me as I attempted to login to my account on another Zen Cart site so I know that the password reset does not work correctly all of the time.Well, if you'd be willing to diagnose the actual cause of the problem, I'd welcome the feedback.
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues
I just tried on 6 different Zen Cart sites, all running v1.3.9h and the only customizations being graphics and CSS in the templates, no other addons, and cannot recreate the problems you describe. The password-reset email arrives just fine, and the password in the email works perfectly to allow me to login.
I can't fix something I can't replicate.

12 Oct 2011, 6:34 PM
#11
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Customer Password not working

GigiCS:

Thank you for your response. Another resource recommended a different add on that has solved the problem.

GiGi
Can you tell us what add on solved the problem for you.

12 Oct 2011, 9:53 PM
#12
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Password not working

DrByte:

That's all a result of you having blank spaces or extra letters/characters on line 1 of your configure.php file, as the error message says.
c/f: https://www.zen-cart.com/tutorials/index.php?article=87

Thanks DrByte,

The first line was <?php. There were no extraneous spaces before or after. Nevertheless, based on what you said, I went through the entire configure.php file and removed empty line and leading spaces from all other lines and the problem has cleared somewhat. My customers can now log in, but I am still having trouble logging in with the master password.

I'll dig into that separately and hopefully fix on my own. If not I'll post a new thread.

Question: This is a cart started way back at v 1.3.2 and has been regularly upgraded. The last upgrade was from 1.3.8a to 1.3.9h. The configure file has a commented line that reads: @package Configuration Settings circa 1.3.8.

Is that normal, or did something go wrong during the upgrade? Shouldn't it say circa 1.3.9?

12 Oct 2011, 10:01 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Customer Password not working

That's normal. It was last built with 1.3.8, so that's why it says circa 1.3.8.
If you had built a new file in 1.3.9 then it would reflect that.

12 Oct 2011, 10:02 PM
#14
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Password not working

DrByte:

That's normal. It was last built with 1.3.8, so that's why it says circa 1.3.8.
If you had built a new file in 1.3.9 then it would reflect that.

Acknowledged. Thanks.

3 Jul 2012, 4:55 PM
#15
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Re: Customer Password not working

Has this ever been resolved? I'm having the same problem. 1.3.9h. It seems to be sporadic. I have at least one customer who has reset his password several times, and none of them work. I've tried on my end and they don't work for me either.