gate2shop Posted January 18, 2007 Share Posted January 18, 2007 My old computer crashed and therefore I can't remember my password for the admin module????? What do I do... The man who I bought the store dont answer my mails... Gate2shop Link to comment Share on other sites More sharing options...
usernamenone Posted January 21, 2007 Share Posted January 21, 2007 osc does not come password protected so how he had it protected is a secret only he knows. Did you look into your .htaccess or maybe a contrib. Link to comment Share on other sites More sharing options...
aegrnberg Posted January 22, 2007 Share Posted January 22, 2007 My old computer crashed and therefore I can't remember my password for the admin module????? What do I do... The man who I bought the store dont answer my mails... Gate2shop First, confirm if you have "Secure Admin Login - Logout" installed, go to phpMyAdmin to access your mySQL db (you have access to that, right?) you will see usernames there, but you will not be able to see the passwords because when it was installed, it is a one-way function. So you will need to delete those and run this: INSERT INTO `administrator` VALUES (1, 'username1', password('your_password1'), NULL, NULL); INSERT INTO `administrator` VALUES (2, 'username2', password('your_password2'), NULL, NULL); -- NOTE: Please make changes in the INSERT INTO lines above before loading into PHPMyAdmin -- Replace username1 and username2 with your usernames. Leave the single quotes around 'username'. -- Replace your_password1 and your_password2 with your passwords. Leave the single quotes around 'your_password'. -- Note the use of MySql's password() function. This is a one-way function so -- you will not be able to "retrieve" the user's password. Then I would suggest that you install "change admin username and password" that comes with "Secure Admin Login - Logout" here: http://www.oscommerce.com/community/contributions,4121 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.