Lost Admin Password

From Phoenix Cart User Guide
Revision as of 15:11, 5 September 2020 by PeterRobert (talk | contribs) (Created page with "1. Delete the existing administrator in the database (leave table empty) 2. Leave the file admin/.htpasswd_osCommerce blank (erase all content, but leave the file in place)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1. Delete the existing administrator in the database (leave table empty)

2. Leave the file admin/.htpasswd_osCommerce blank (erase all content, but leave the file in place)

3. In the file admin/.htaccess delete the following lines:

          1. OSCOMMERCE ADMIN PROTECTION - BEGIN #####

AuthType Basic AuthName "osCommerce Online Merchant Administration Tool" AuthUserFile /web/htdocs/YOUR PATH TO ADMIN DIRECTORY/.htpasswd_oscommerce Require valid-user

          1. OSCOMMERCE ADMIN PROTECTION - END #####

then try to enter your admin. You'll be prompted that no admin exists and that you should enter a username and password to create one.

Do this, remember or copy user and pass and try again to enter. Now you will prompted to login, use the user and pass you just entered. Once you have logged in, go to admin => Configuration => Administrators and activate additional .htaccess protection.