User Tools

Site Tools


Sidebar

tutorials:admin:reset_admin_pass

This is an old revision of the document!


Reset Admin Password

This tutorial will guide you through the steps necessary to manually reset your admin username and password. However, if you feel confident that you do know your username and password, but are simply having trouble logging in to your software's admin panel, the first step would be to delete the cookies on your computer and then try logging in again. Deleting your cookies is almost always the problem if you are unable to login to your admin panel.

You will need FTP access to your domain in order to retrieve the appropriate file for resetting the admin access to your software. This is a security precaution, so that in order to reset the admin password, you must have FTP access to the site, which typically only the admin user will have.

  1. Once FTP in to your domain, find the root of your software's folders and files. You should see a file named reset_admin_password.php. Download and "edit" the file. <
  2. Within the reset_admin_password.php file, scroll down to the "SETTINGS" section. Change the "0" in the following line of code to "1":

Before:

define('TURN_ON_RESET_PASSWORD_TOOL', 0);

After:

define('TURN_ON_RESET_PASSWORD_TOOL', 1);

<

  1. Next, change "admin" and "geodesic" in the following two lines of code to your desired username and password:
$admin_username = "admin";
$admin_password = "geodesic";

<

  1. Save your edited reset_admin_password.php file and upload it to your domain. <
  2. Access your software's admin panel. You will see an window similar to the one below. Click on the "Reset Admin Password" link.

<

  1. Your admin username and password should now be reset. Note that until you complete the next step you will not be able to access your software's admin panel. This is for security reasons.<
  2. Undo the changes you did to the reset_admin_password.php file by:
    1. Once again, FTP in to your domain and access the reset_admin_password.php file. <
    2. Scroll down to the "SETTINGS" section. <
    3. Change the "1" that you previously edited in Step 2 above back to a "0" and once again save and upload the file to your server. <

< <

  1. You should now be able to log in to your software's admin panel with the admin user/pass you specified when editing the reset_admin_password.php file (default is admin/geodesic). <
tutorials/admin/reset_admin_pass.1236364314.txt.gz · Last modified: 2014/09/25 16:55 (external edit)