Forums / General Questions / Cannot login to my site

Cannot login to my site

Views: 496

Results 1 to 2 of 2
23 Oct 2011, 2:47 PM
#1
rxmaman avatar

rxmaman

New Zenner

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

Cannot login to my site

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

23 Oct 2011, 4:05 PM
#2
rxmaman avatar

rxmaman

New Zenner

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

Re: Cannot login to my site

All right. Figured it out. I would delete this post but can't find the the edit button. I'm hopeless.