Zen Cart Logo
Forums / General Questions / Forgot password not working in admin PLEASE HELP

Forgot password not working in admin PLEASE HELP

Views: 1,902

Results 1 to 13 of 13
25 Apr 2014, 8:10 PM
#1
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Forgot password not working in admin PLEASE HELP

ive tried all day to get my password resent and it just says it will be sent to the admin email but isn't working

please let me know what i need to do to get this corrected

25 Apr 2014, 8:37 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Forgot password not working in admin PLEASE HELP

Dashizna:

ive tried all day to get my password resent and it just says it will be sent to the admin email but isn't working

please let me know what i need to do to get this corrected

Question like this is asked frequently and normally can be easily found by searching the forum or specifically the FAQ. (Suggestion of standard posting is to do this type of search first.)

First though you will need to regain access to your admin: http://www.zen-cart.com/content.php?44

Then you will need to identify what is wrong with the emil portion of the site. Regarding your old account once this is done, you may have to create a new admin account after you are able to login using the above. When asked to change your password using the process above, be sure to use the password from the FAQ as your old password.

25 Apr 2014, 11:00 PM
#3
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

I think I messed something up now

I did the myphpadmin sql part and it said one row changed

but then I relized that the reset password email is case sensitive and it sent me a temp password

but now when I try to change the password it says There was a security error when trying to login.

im lost now please help

25 Apr 2014, 11:13 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Forgot password not working in admin PLEASE HELP

Dashizna:

I think I messed something up now

I did the myphpadmin sql part and it said one row changed

but then I relized that the reset password email is case sensitive and it sent me a temp password

but now when I try to change the password it says There was a security error when trying to login.

im lost now please help

Can perform the sequence again to reestablish a "default password".

25 Apr 2014, 11:15 PM
#5
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

I tried to do that but it doesn't work it just keeps saying the security error

25 Apr 2014, 11:23 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Forgot password not working in admin PLEASE HELP

so when you use

DELETE FROM admin WHERE admin_name = 'Admin'; 
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_profile)  VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

Where admin is replaced with prefix.admin ie if prefix is zc_ then zc_admin is used...

Those two SQL command together should restore access to use the default info.

25 Apr 2014, 11:25 PM
#7
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

well never mind I got it all fixed

Thanks

26 Apr 2014, 2:17 AM
#8
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

Dashizna:

well never mind I got it all fixed

ThanksAnd for others who have a similar problem and find this thread your solution was?

26 Apr 2014, 2:25 AM
#9
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

gilby:

And for others who have a similar problem and find this thread your solution was?

in myphpadmin I deleted the extra admin logins and reset the password with the reset password function

3 Mar 2018, 9:11 PM
#10
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

mc12345678:

so when you use

DELETE FROM admin WHERE admin_name = 'Admin';
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_profile) VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

> Where admin is replaced with prefix.admin ie if prefix is zc_ then zc_admin is used...
> 
> Those two SQL command together should restore access to use the default info.

I am sorry for silly question, but I am afraid to corrupt the data base.

Is parameter *admin *in blue name of data base or it must be a word *admin *?

I do not understand "prefix" and what is admin_zc in my case.

My database name is for an example "peter_zc3", should I use *peter_zc3* instead of *admin * ?

Please, enlighten me.

Thank you.
3 Mar 2018, 9:17 PM
#11
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

Attachment 17725

I think I got it!

In my case prefix is zen_

So, I sould use zen_admin

Is it correct?

Thank you,

3 Mar 2018, 9:29 PM
#12
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Forgot password not working in admin PLEASE HELP

Yes, all above worked well ! :smile:

No need to reply.

4 Mar 2018, 12:30 AM
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Forgot password not working in admin PLEASE HELP

idtags:

Yes, all above worked well ! :smile:

No need to reply.

Glad you figured it out and got it working. I had a whole explanation of each of the two lines of the sql, but the messages came in before I could finish/post.

Anyways, the important thing out of the issue and attempted recovery is that if you make a database backup before trying to mess with the database then you can always restore the backup... also if you keep a development version of your store you can try things without disrupting operations.