Difference between revisions of "Lost Admin Password"
From Phoenix Cart User Guide
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)...") |
PeterRobert (talk | contribs) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <div class="btn btn-grey btn-back">{{#fas:arrow-left}} Back</div> <div class="btn btn-grey btn-faq">{{#fas:question-circle}} FAQ Tips & Tricks</div> | |
| + | <hr> | ||
| − | + | If you have lost the login credentials to access admin: | |
| − | + | *In your database, select the '''administrators''' table and delete the existing administrator(s). | |
| − | + | *Edit the file on your server, '''youradmin/.htpasswd_phoenix''' - delete all content and save the file. | |
| − | ##### | + | *Edit the file on your server, '''youradmin/.htaccess''' - delete the following lines: |
| + | <pre> | ||
| + | ##### Phoenix ADMIN PROTECTION - BEGIN ##### | ||
AuthType Basic | AuthType Basic | ||
| − | AuthName " | + | AuthName "CE Phoenix Administration Tool" |
| − | AuthUserFile / | + | AuthUserFile /xxxx/yourAdmin/.htpasswd_phoenix |
Require valid-user | Require valid-user | ||
| − | ##### | + | ##### Phoenix ADMIN PROTECTION - END ##### |
| − | + | </pre> | |
| + | |||
| + | *Then access '''yoursite/youradmin''' | ||
| + | * You will see that no administrator exists and that you should enter a username and password to create one. | ||
| + | *Do this, make a record of username and password and access again. | ||
| + | *Use the username and password you just entered. | ||
| + | *After login, go to '''Configuration → Administrators''' and activate additional .htaccess protection. | ||
| + | |||
| + | |||
| − | + | <hr> | |
| + | {{Page_In_Progress}} | ||
| + | {{Contribute}} | ||
Latest revision as of 16:57, 30 November 2023
Back
FAQ Tips & Tricks
If you have lost the login credentials to access admin:
- In your database, select the administrators table and delete the existing administrator(s).
- Edit the file on your server, youradmin/.htpasswd_phoenix - delete all content and save the file.
- Edit the file on your server, youradmin/.htaccess - delete the following lines:
##### Phoenix ADMIN PROTECTION - BEGIN ##### AuthType Basic AuthName "CE Phoenix Administration Tool" AuthUserFile /xxxx/yourAdmin/.htpasswd_phoenix Require valid-user ##### Phoenix ADMIN PROTECTION - END #####
- Then access yoursite/youradmin
- You will see that no administrator exists and that you should enter a username and password to create one.
- Do this, make a record of username and password and access again.
- Use the username and password you just entered.
- After login, go to Configuration → Administrators and activate additional .htaccess protection.
Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org