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.
Not a member yet? Click here to register.
Forgot Password?

Reset Administrator password

Asked Modified Viewed 14,411 times
M
mikehenson
M
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Junior Member

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,
0 replies

11 posts

H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

search for adminsitrator and reset
0 replies
M
mikehenson
M
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

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,
0 replies
F
Falk
F
Falk 131
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 ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

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'");
?>
Edited by N/A on 17-04-2013 19:07,
0 replies
M
mikehenson
M
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Thank you.
0 replies
— 1 month later —
P
patrickb
P
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
answered
Newbie

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,
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

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]
0 replies
P
patrickb
P
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
answered
Newbie

v7.02.06 -- I'll try changing the PW one more time and update you if it's still not working.
0 replies
— 6 months later —
T
tws
T
tws 10
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Domi,

Simple, working... PERFECT!!!

Thank you.

Tom
0 replies
— 1 year later —
S
servicetool
S
PFPWebHosting
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

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
0 replies
K
KasteR
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

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)
0 replies
S
servicetool
S
PFPWebHosting
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

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
1 reply

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 9 members

9 participants

F
F
Falk 131
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 ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
M
M
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
K
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
P
P
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
T
T
tws 10
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 1 thread in the forums
S
S
PFPWebHosting
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
R
R
  • Newbie, joined since
  • Contributed 2 posts on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet