How to reset your password for Oscommerce.

osCommerce uses .htaccess and .htpasswd format files to manage the protection on the admin section of your shop.

If you need to change the password or username associated with the admin section, you need to create a new .htpasswd entry. This is an encrypted password oscommerce uses to protect the admin area. First browse to where the .htpasswd file is located through the cpanel's file manager.
Click on file manager in the control panel.
You should be in the home directory click on the .htpasswds folder icon
click on the public_html folder and navigate to the oscommerce installation folder, then to the admin folder.
You will see a file passed click on the name of this file, and select edit in the top right hand side menu.

Now go to our page for creating an .htpasswd here this will help you create .htpasswd. Copy the result text and paste it into the file you are editing from the file manager.
Then hit save at the bottom of the edit page form.

You should now be able to log into the oscommerce admin section with the new username and password.

Was this answer helpful?

 Print this Article

Also Read

Optimizing Wordpress on Shared Hosting

Wordpress blogs can be extremely resource intensive if you happen to experience a surge in...

HTTP Error 500 - Internal server error

If you installed a new script and are getting the 500 error trying to load the page please see...

After I install osCommerce I get sessions directory error ?

Set this in both your admin/includes/configure.php and catalog/includes/configure.php: From:...

How do I connect to MySQL through PHP?

Use the following outline to connect and begin querying the MySQL server from within your PHP...

My PHP program tells me it can't access the database and gives an error message ?

MySQL - When you create a new database you have to specify a database name. Then you create a...