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) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <span class="btn-grey"><historylink type="back">🠈 Back</historylink></span> | |
+ | <span class="btn-grey" style="color:#0088dd;">'''🠉 [[FAQS TIPS & TRICKS]]'''</span> | ||
+ | <hr> | ||
− | + | If you have lost the login credentials to access admin: | |
− | |||
− | |||
+ | *In your database, select the '''administrators''' and delete the existing administrator. | ||
+ | *Edit the file on your server, '''youradmin/.htpasswd_oscommerce''' - delete all content and save the file. | ||
+ | *Edit the file on your server, '''youradmin/.htaccess''' - delete the following lines: | ||
+ | <pre> | ||
##### OSCOMMERCE ADMIN PROTECTION - BEGIN ##### | ##### OSCOMMERCE ADMIN PROTECTION - BEGIN ##### | ||
AuthType Basic | AuthType Basic | ||
Line 11: | Line 15: | ||
Require valid-user | Require valid-user | ||
##### OSCOMMERCE ADMIN PROTECTION - END ##### | ##### OSCOMMERCE ADMIN PROTECTION - END ##### | ||
− | + | </pre> | |
+ | |||
+ | *Then access '''yoursite/youradmin''' | ||
+ | * You will see that no admin 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}} |
Revision as of 14:25, 5 September 2020
<historylink type="back">🠈 Back</historylink> 🠉 FAQS TIPS & TRICKS
If you have lost the login credentials to access admin:
- In your database, select the administrators and delete the existing administrator.
- Edit the file on your server, youradmin/.htpasswd_oscommerce - delete all content and save the file.
- Edit the file on your server, youradmin/.htaccess - delete the following lines:
##### 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 ##### OSCOMMERCE ADMIN PROTECTION - END #####
- Then access yoursite/youradmin
- You will see that no admin 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.
If you have found it useful, please donate to the coffee pot!
Use this link to donate whatever you want.
Donate with Paypal
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org
PROTECTED BY COPYSCAPE ANTI-PLAGIARISM