Author Topic: Recover ADMIN password  (Read 3138 times)

Offline kamalprem

  • User
  • *
  • Posts: 17
    • View Profile
Recover ADMIN password
« on: June 18, 2009, 01:59:15 AM »
I haven't logged in a long time and some how I forgot my login credentials.  Is there a way to recover my password or reset it?  This is very important if I can get some help right away.

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Recover ADMIN password
« Reply #1 on: June 18, 2009, 09:15:21 AM »
Hi,

their is no function for this at the moment.
You only can reset it with an sql statement:

update `users` set `password`=md5('yourpassword') where `name`='admin';

Hope this helps.

Frank

Offline kamalprem

  • User
  • *
  • Posts: 17
    • View Profile
Re: Recover ADMIN password
« Reply #2 on: June 18, 2009, 04:29:57 PM »
That worked for adding new post and docs but it didn't get me in for the admin directory

Offline kamalprem

  • User
  • *
  • Posts: 17
    • View Profile
Re: Recover ADMIN password
« Reply #3 on: June 18, 2009, 05:38:19 PM »
Never mind...I figured it out.  Thanks for all the help!

Offline kamalprem

  • User
  • *
  • Posts: 17
    • View Profile
Re: Recover ADMIN password
« Reply #4 on: June 18, 2009, 05:42:20 PM »
oops.  Spoke too soon.  When I log in I only have the option to install extensions. could I have created cmore then one admin for this page?

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Recover ADMIN password
« Reply #5 on: June 18, 2009, 08:38:46 PM »
Hi,

here the answer von others to reset the admin account:
At a wrong admin login a hashvalue is shown at the bottom of the loginpage. This value can be saved in the admin config for the new login credentials.

You have only this one admin account because you only can make some configurations and install extensions.

Frank

Offline kamalprem

  • User
  • *
  • Posts: 17
    • View Profile
Re: Recover ADMIN password
« Reply #6 on: June 18, 2009, 09:17:31 PM »
The only thing I see when I log in is the extension option, log out, and information which only shows me the welcom epage.  Before I had a bunch of options to choose from.

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Recover ADMIN password
« Reply #7 on: June 18, 2009, 10:22:05 PM »
Hi,

please show me the result of the following sql statement:
select * from extensions;

You should have an entry with admin_config and an value for active as 1.

Frank

Offline kamalprem

  • User
  • *
  • Posts: 17
    • View Profile
Re: Recover ADMIN password
« Reply #8 on: June 18, 2009, 10:44:37 PM »
This what I get after the SQL statement:

ID      KEYNAME          ACTIVE  ADMIN

1     admin_extension     1           1     
2    admin_info               1          1    
3    admin_config       1          1    
4    libsecure               1          0


I've attached a screenshot of the interface after I log in

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Recover ADMIN password
« Reply #9 on: June 19, 2009, 07:59:47 AM »
Hi,

please check the system/sysext/ folder if their is a admin_config extension and you have files in this folder.

Frank

Offline kamalprem

  • User
  • *
  • Posts: 17
    • View Profile
Re: Recover ADMIN password
« Reply #10 on: June 19, 2009, 10:30:57 PM »
I do have that directory and I have the following files listed:

admin_config.js
class-admin_config.php
config.php
info.php
language.php


Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Recover ADMIN password
« Reply #11 on: June 21, 2009, 07:58:28 PM »
Which Knowledgeroot Version are you using?
Which Apache/PHP/Mysql Version are you using?
Windows or Linux?

Frank