Difference between revisions of "Lost Admin Password"

From Phoenix Cart User Guide
Line 5: Line 5:
  
 
*In your database, select the '''administrators''' and delete the existing administrator.
 
*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/.htpasswd_phoenix''' - delete all content and save the file.
 
*Edit the file on your server, '''youradmin/.htaccess''' - delete the following lines:
 
*Edit the file on your server, '''youradmin/.htaccess''' - delete the following lines:
 
<pre>
 
<pre>
##### OSCOMMERCE ADMIN PROTECTION - BEGIN #####
+
##### Phoenix ADMIN PROTECTION - BEGIN #####
 
AuthType Basic
 
AuthType Basic
AuthName "osCommerce Online Merchant Administration Tool"
+
AuthName "CE Phoenix Administration Tool"
AuthUserFile /web/htdocs/YOUR PATH TO ADMIN DIRECTORY/.htpasswd_oscommerce
+
AuthUserFile /var/www/vip9/sites/vip3201957/httpd/htdocs/latest/adminlatest/.htpasswd_phoenix
 
Require valid-user
 
Require valid-user
##### OSCOMMERCE ADMIN PROTECTION - END #####
+
##### Phoenix ADMIN PROTECTION - END #####
 
</pre>
 
</pre>
  

Revision as of 09:31, 8 June 2021

Back
FAQ 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_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 /var/www/vip9/sites/vip3201957/httpd/htdocs/latest/adminlatest/.htpasswd_phoenix
Require valid-user
##### Phoenix 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.



Construction.png
This page is in progress
Please visit again soon for additions and changes

Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org