Forums / General Questions / Admin password recovery

Admin password recovery

Views: 791

Results 1 to 4 of 4
12 Oct 2011, 12:12 PM
#1
avantas1970 avatar

avantas1970

New Zenner

Join Date:
Oct 2011
Posts:
1
Plugin Contributions:
0

Admin password recovery

I propably lost (??) the Admin log in password (it worked all right some time ago) and I can't enter in Admin to work. I hadn't set an email in order to resend the password.
Any suggestions ?

Thanks

Nikodimos

19 Oct 2011, 11:10 PM
#3
rxmaman avatar

rxmaman

New Zenner

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

Re: Admin password recovery

I update my website once a year (seasonal items). Tried to log in to zencart but received a "incorrect user/password" message. After several attempts, I clicked on "resend" and received this message:

warning: sprintf() [function.sprintf]:too few arguments in /home/cleverc1/public_html/"myadminusername"/password_forgotten.php on line 65 but it said "A new password had been sent to your e-mail address". However, no e-mail received (checked junk folder); sent an e-mail to my website e-mail and it worked.

Use the link from the FAQ of this site but, I know nothing of programming language, so.... When I typed the script "as is", nothing happens. So...in this query
DELETE FROM admin WHERE admin_name = 'Admin'; INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level) VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1); do I put my admin name in DELETE FROM admin WHERE admin_name = My admin name?
I don't know which version of zencart I'm using (don't know how to check that). Help???

19 Oct 2011, 11:39 PM
#4
rxmaman avatar

rxmaman

New Zenner

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

Re: Admin password recovery

And this is the error message I get when I run the query:

Error
SQL query:

DELETE FROM admin WHERE admin_name = 'Admin';

MySQL said:

#1146 - Table 'cleverc1_zc1.admin' doesn't exist