Master Password

Locked

Views: 2,637

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
15 Nov 2009, 11:00 AM
#1
isaac2 avatar

isaac2

New Zenner

Join Date:
Nov 2009
Posts:
6
Plugin Contributions:
0

Master Password

The Master Password which I have set up on the "Configuration / My Store" page has stopped functioning. When I use the Master Password now, I receive an error message saying "Error: Sorry, there is no match for that email address and/or password."

I've used this function many times in the past but have not used it for several months now, so I'm not really sure when it stopped working correctly. I did retype and save the password again in the My Store page, but that didn't help.

I'm using Zen Cart version 1.3.8a

Any help would be greatly appreciated. :smile:

15 Nov 2009, 1:26 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Master Password

Ia,
I use encrypted master password but take a loook at this thread or scroll down to the bottom of this page and notice similar threads on the same issue.

http://www.zen-cart.com/forum/showthread.php?t=26117

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

15 Nov 2009, 8:55 PM
#3
isaac2 avatar

isaac2

New Zenner

Join Date:
Nov 2009
Posts:
6
Plugin Contributions:
0

Re: Master Password

Most helpful Haredo - Thank you. I have downloaded the password_func.PHP file.

The individual who created my web site for me is too busy to assist in helping me with this. Although I have learned some simple HTML codes and can make some simple changes on my site, I am not an HTML or PHP expert by any means.

I've found that I can edit the PHP file using Notepad - that isn't an issue :smile: But would you be able to assist me one more time please.

In looking at this file, I see there is a section "This function validates a plain text password with an encrpyted password" and another section "This function makes a new password from a plaintext password". I have no idea if my Master Password was previously encripted or not. On the "Configuration / My Store" page, it was shown in plain English - that I do know.

If my master password was going to be "elephant" for example, and if I was to take a guess, I would think that I should use the "This function makes a new password from a plaintext password" and enter my password on the line that reads:
$password = '';
and that my master password would placed between the two single quotes as folows:
$password = 'elephant';

Is my thinking above all correct and would that be the only thing I would need to change??

Thanks in advance for your help - it is greatly appreciated.

17 Nov 2009, 12:04 AM
#4
isaac2 avatar

isaac2

New Zenner

Join Date:
Nov 2009
Posts:
6
Plugin Contributions:
0

Re: Master Password

Well, the downloaded copy of the password_func.php didn't seem to work, at least based upon what I have tried doing. Since I had not heard back from anyone concerning my last post, I tried a couple of things.

First I made backups of my store. Then I:

1 - loaded the new password_func.php onto my site
2 - tried logging into a customers account using the master password.
3 - I received the same error message as described in my previous post.
4 - I changed my master password via the "configuration / my store" page and tried logging into a customers account
5 - I received the same error message as described in my previous post.

6 - I edited the actual password_func.php file and added in the master password as described in my last post.
7 - retried step #2 but received the same error message.
8 - retried step #4 but received the same error message.

I have gone back through the posts referred in Haredo post to me and can't seem to find anything that indicates something that I'm not doing.

Is there something else I need to do that I have missed? Any thought or suggestions would be appreciated.

By the way, I have since deleted the password_func.php file that I edited and replaced it with a clean copy of the one I downloaded. So that is where I currently stand - a clean downloaded copy of the password_func.php file on my website and my master password still not working.

Thanks in advance.

17 Nov 2009, 10:51 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Master Password

Have you tried logging in with a test account, or creating a new account to test login? It may not be the MP mod at all.

17 Nov 2009, 11:59 PM
#6
isaac2 avatar

isaac2

New Zenner

Join Date:
Nov 2009
Posts:
6
Plugin Contributions:
0

Re: Master Password

Hi Stevesh - thanks for your reply.

Since reading your reply, I created a test account to play with.

After the test account was created, I completely logged out of the web site. I got back into the store and tried logging into the test account using the test password I had created. All was successful and I repeated this a couple of times.

I backed out completely from the web site and then went back in. I tried logging into the test account using the Master Password. I received the same error I've been receiving all along - - -"Error: Sorry, there is no match for that email address and/or password."

After backing out completely from the site and then going back in, I was still able to log into the test account using the test password.

I've since tried logging off and then back into system again numerous times. Any time I attempt to open the test account with the test password, it works fine however, I'm unable to access the test account using the Master Password.

So I'm still back to square #1 :(

Any other suggestions? Thanks in advance.

1 Dec 2009, 1:51 AM
#7
thebeveragegourmet avatar

thebeveragegourmet

Zen Follower

Join Date:
Nov 2006
Posts:
163
Plugin Contributions:
0

Re: Master Password

I'm having the same problem. I haven't used MP in maybe 6 months and now it's not working (same error)


15 Dec 2009, 12:39 PM
#8
isaac2 avatar

isaac2

New Zenner

Join Date:
Nov 2009
Posts:
6
Plugin Contributions:
0

Re: Master Password

If you figure it out, please let me know :smile:

I'm still playing around with different thoughts and ideas that I think of, but so far, I have not been able to resoolve the issue. If I figure it out, I'll let you know :smile:

If anyone else has any thoughts on this issue, please let us know.

Thanks

23 Dec 2009, 12:12 PM
#9
captain_tycoon avatar

captain_tycoon

New Zenner

Join Date:
Dec 2009
Posts:
26
Plugin Contributions:
0

Re: Master Password

I'm also having this problem; Is it working for anyone? :/ I really need this working a.s.a.p :(

23 Dec 2009, 12:51 PM
#10
captain_tycoon avatar

captain_tycoon

New Zenner

Join Date:
Dec 2009
Posts:
26
Plugin Contributions:
0

Re: Master Password

Update: I've installed the Encrypted Masters Password, together with the normal one (unencrypted). Its working perfectly now. All I had to do with this is set the Masters Password to match the admin password.

:clap:

24 Jan 2010, 8:07 PM
#11
signs avatar

signs

Zen Follower

Join Date:
Jun 2006
Posts:
128
Plugin Contributions:
0

Re: Master Password

I had this same issue and installed Encrypted Master Password.

Even tho the Master Password still shows in the Configuration>My Store view, it isn't what works.. what works is the fact that the header_php.php file in the login folder is looking for the admin password.

The good thing about having both mods installed, however, is the ability to SEE what the password setting is under Configuration>My Store. If you set that to match your master admin password then you never have to remember what that was. You can just go take a peek under My Store.

:D

1 May 2010, 9:19 AM
#12
nedward avatar

nedward

New Zenner

Join Date:
Mar 2007
Posts:
90
Plugin Contributions:
0

Re: Master Password

I've tried to use Encrypted Master password with zen cart 1.3.9 by adding the code snippet from the download into includes/modules/pages/login/header_php.php

It doesn't let me login to a user account.
Is there something else I should do?

Gonna also add the original master password.
will let you know what happens

1 May 2010, 9:30 AM
#13
nedward avatar

nedward

New Zenner

Join Date:
Mar 2007
Posts:
90
Plugin Contributions:
0

Re: Master Password

Ok that did it.
I got it working by by adding the original master password.

Nedward

22 Nov 2010, 4:00 PM
#14
jacdesigner avatar

jacdesigner

Zen Follower

Join Date:
Jun 2005
Location:
Austin, Texas, US
Posts:
205
Plugin Contributions:
0

Re: Master Password

Thank you for these threads, I was also able to fix a master password issue on one of my websites. The issue was related to a recent upgrade that had overwritten the password functions file. I uploaded a clean copy of the password functions file and repaired the issue.

This message brought to you by Jac.
Happily developing sites with Zen Cart since 2003.

22 Nov 2010, 6:26 PM
#15
mduros avatar

mduros

New Zenner

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

Re: Master Password

Just because it took me so many months to figure this out, I will post what worked for us. I am associated with the poster Isaac2. I am not versed in ZenCart so stepped into this as a complete inexperienced newbie. Our problem was 1) header_php.php was messed up, discovered that through winmerge comparison, 2) there are more than one admin accounts in our store so the admin number(s) had to be designated in the header_php.php file, 3) and despite what people said about not having the admin and master passwords match, we had to make one of the admin passwords and master password match.

I'm happy to say though that we finally got it.
Take care,
Mary.