Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Forgot Password?
Navigation

Reset Administrator password

Last updated on 1 year ago
M
mikehensonJunior Member
Posted 12 years ago
But this idiot has forgotten his Administrator password.

Please take pity on me and tell me how I can recover it.

Humblest regards
Edited by N/A on 23-04-2013 15:37, 12 years ago
H
HomdaxFusioneer
Posted 12 years ago
search for adminsitrator and reset
M
mikehensonJunior Member
Posted 12 years ago
I have seen the reset option but was hoping that I could recover it. As I obviously can't I searched as you suggested and found someone who said it can't be done and was talking about a reset infusion????

There is a password reset page.

I select myself by name or Super Admin

I enter a reason

.....but it won't reset because it wants the Admin password????

I'm totally confused.
Edited by mikehenson on 17-04-2013 18:33, 12 years ago
F
FalkSuper Admin
Posted 12 years ago
You can search for the infusion or enter phpmyadmin or similar and clear the admin_password values of your user_id in database table users.

You can also make a new file with a random filename.php
insert this and run it from your browser, Fusion will ask you to set a new admin password. Double check so you reset the correct user_id.

Remember to delete the file when you are done.

<?php
require_once "maincore.php";
dbquery("UPDATE ".DB_USERS." SET user_admin_password='' WHERE user_id='1'");
?>
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
Edited by N/A on 17-04-2013 19:07, 12 years ago
M
mikehensonJunior Member
Posted 12 years ago
Thank you.
P
patrickbNewbie
Posted 12 years ago
Hello everyone. I've followed the instructions in this thread, and others, closely. I have attempted both the PHP way to reset the admin password (the little utility script), as well as updating my database directly.

I have managed to clear the admin password and when I return to my profile I am given the option to enter a new one. I do this (being very careful to enter it without errors), and upon submitting it am immediately returned to the profile with the header stating that I need to enter my admin password! However, at this point it seems to have taken since three input boxes appear (Current Admin password, new admin password, re-enter new admin password).

Initially I just ignored this and went to try it out (add a new panel), but every time I do I'm told it's the wrong admin password! (In case you're wondering, yes, I do know there are two different password, and yes, I'm entering them correctly).

As a test, I cleared the password again, re-entered it in the profile, and then immediately after submitting it (with the same "Admin password not set!" error at the top), attempted to update it again in the profile. Even then the brand spanking new password is not being accepted, and I'm 100% certain I'm entering everything correctly (both my login and admin).

transmundane.net/discuss/screencap.jpg


I also attempted to copy my login password into the admin password field in the db (I understand it's not recommended -- I'm just getting desperate), and that one is also not being accepted.

Additionally, I've also tried an Infusion (sorry, can't remember the link now), that claims to reset the admin password but it seems to do absolutely nothing.

I'm completely at my wit's end here. Any advice? Any other info I can provide?

P.S. I just checked my PHP error log and it's empty. No errors being reported.
Edited by patrickb on 21-05-2013 20:32, 12 years ago
J
JoiNNNVeteran Member
Posted 12 years ago
What's your PHPF version?

Make sure you only complete these 2 fields.

If you still can't get it right provide a test account via PM!
JoiNNN attached the following file:
pwd.png [No information available / 205 Downloads]
P
patrickbNewbie
Posted 12 years ago
v7.02.06 -- I'll try changing the PW one more time and update you if it's still not working.
T
twsNewbie
Posted 11 years ago
Domi,

Simple, working... PERFECT!!!

Thank you.

Tom
Posted 10 years ago
Hello Everyone,

None of the above works for me. I tried everything, does anyone have other advices they can give.?
JoiNNN, I have send you a private message with access to view this for your self and see if you can have a go for us as I am a little stuck on this one.

Many thanks in advance
Michael G./ Server admin PFPWebHosting
K
KasteRSenior Member
Posted 10 years ago
Domi's method should work, as I've tested this on a sub-domain site.

With the code he posted, create a new file. (ie: reset.php) and place on the root of your server.
Access the page, by directing your browser to it (ie: sub.domain.com/reset.php)

When the code is parsed, the browser page will remain as white (blank). This is because we're simply deleting any pre-existing password within the database.

Now that the password has been nullified, the next time you logon to your site, you will see a notice advising you to set your administrator password.

Quote

Warning: admin password not set, click Edit Profile to set it.

[ulist=disc]To set it successfully, provide your user password in the first textbox, labeled as "Login password".
Confirm your password by re-typing it in the third textbox, labeled as "Confirm password".
Provide a administrator password by typing it in the fourth textbox, labeled as "Admin password".
Finally confirm, by re-typing it in the fith textbox, labeled as "Confirm admin password".
You should then receive the message "Profile was sucessfully updated."[/ulist]

Finally, and most importantly, remove the file that you created (ie: reset.php)
Posted 10 years ago
Hello KasteR,

I have passed everything down to our developers and everything works! Thanks again for your help and yeah Domi's method does work. I guess I'm getting a little rusty as I handle mainly the server's function and ability to perform.

Cool software PHPFusion!

Best Regards,
Mike G / PFPWebHosting Server Admin
R
roo4lessNewbie
Posted 1 year ago
And a update for December 2023
It is not the password that is the issue when logging in to the Admin Panel, you can change it a dozen times and it will reject any and every password.
I hope that the developers have a solution 8 years down the road?
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Falk, Homdax, mikehenson, JoiNNN, KasteR, patrickb, tws, servicetool, roo4less