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.

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

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

How to setup custom php.ini file?

What is php.ini?PHP.ini is very important configuration file for PHP that is used to customize...

Optimizing Wordpress on Shared Hosting

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

Can't install another script in root directory? Why?

When using fantastico you cannot install more than one script in the root directory. If you...

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