(links)-> reset osCommerce admin password
submited by Russell Sat 31 Mar 12|
so the admin password for oscommerce was lost. I found this which I would think would work. One of the comments, had a suggestion about putting a line of code into login.php which tossed errors for me (perhaps my version is out of date or something ) I got it to work adding the line:
tep_db_query("update administrators set user_password = '" . tep_encrypt_password('password') . "' where id = 1");
just after the includes in login.php. This sets the admin password to "password" in my version of osCommerce. Be sure to delete this line after you reset the admin password to something more secure.
Add comment or question...: