How to reset password of Admin account?
Hello Everyone,
I am administrator of my WackoWiki website but unfortunately I forget my password. And when I tried to sent reset email, I just didn't receive any emails in my registered email address. But I didn't see any error occupied when I clicked the reset button.
How can I resolve it? It seems I can not use Admin panel or recovery password as common ways.
Thank you for any help.
Comments
Log in or create an account to post a comment.
Re: How to reset password of Admin account?
HOTFIX:
Create a new account, then go in phpMyAdmin or similar to the
user
table and theusergroup
table.Add the
user_id
of your new account and thegroup_id
of the Admins group in a new record in theusergroup_member
table.user table
usergroup table
usergroup_member table
Now login with the new account and you should now as member of the Admins group be able to login into the Admin panel.
Regarding your e-mail, please check if you confirmed your e-mail, you see this in the
email_confirm
field in the user table - which should be empty.If you can login into the Admin panel, you can send you an test e-mail in the e-mail module.
More about the debug options tomorrow.
Re: How to reset password of Admin account?
I am following your advice and try to create a new user first. However, after I changed the config table _ allow _ register to value 1 I still can't register a new user. The page notify "Registration is not open. Please contact the administrator".
Re: How to reset password of Admin account?
config
table and change the config_value forallow_registration
to1
.Delete the old cache file under
cache/config/config.php
.Now you should be able to register a new user.
Re: How to reset password of Admin account?
Thank you for all these advice. But when I finished the steps that you mentioned, as well as followed the this configuration I still can't access the admin page. I just get a notify that the administrative password specified. Note: lack of an admin password is a security threat! Enter the password in the configuration file and run the program again.
The most important thing is how could I reset my previous admin account's password after I followed these steps? I hope I can restart to login my previous admin account. Thank you.
Re: How to reset password of Admin account?
The following issues must be solved:
Once your e-mail settings work again, you can reset also your forgotten password for your first account.
To get access the Admin panel you must set the
recovery_password
first.Please follow the steps described here: Create a Recovery-Password
If you get the following message, despite you already set the
recovery_password
, you probably have forgot to delete the old cached config file:Delete the old cache file under
cache/config/config.php
. You can do this with your second admin account using the{{admincache}}
action.Now access the Admin panel and configure your email settings. (please improve the documentation and translation in your language if something is missing or not well described)
Re: How to reset password of Admin account?
I have resolved my.previous issue now. But I have questions about my recovery_password. I tried to paste the password hash value to the config.php but seems I can never save it successfully. Everytime I reopen the config.php file, the recovery_password' hash value will be erased and be empty.
I don't know why it is. And I did actually have deleted the cache everytime I create a recovery_password and pasted the hash value.
Re: How to reset password of Admin account?
config.php
.Wen you try to edit the file and it won't save the changes, it is likely you have no write permissions.
You must adjust the file permissions according to the permission group you're in.
config/config.php
has write permissions.