Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: DAN_B on November 10, 2012, 01:08:41 AM

Title: [Solved]I'm the administrator who deleted my login information
Post by: DAN_B on November 10, 2012, 01:08:41 AM
 Yes, I'm the administrator who deleted my own login information. :(
I'm the domain owner. I can get into the files and data base within the domain, however I would be lost in there. I installed it with the C-Panel softopuos, I can see all info, but no edit administration option. Any suggestions?
Title: Re: I'm the adminisrator who deleted my login information
Post by: Joker™ on November 10, 2012, 01:16:13 AM
http://wiki.simplemachines.org/smf/Administration_-_I_accidentally_lost_my_admin_account!_What_can_I_do
Title: Re: I'm the adminisrator who deleted my login information
Post by: DAN_B on November 10, 2012, 01:23:51 AM
OK THanks, I'll check it out
Title: Re: I'm the adminisrator who deleted my login information
Post by: Colin on November 10, 2012, 01:25:23 AM
Welcome to SMF.

In the future please do take the few minutes to scan the wiki or forums, here, to see if an answer has been publicized. You would be surprised how much the Doc Team has written up :).
Title: Re: I'm the adminisrator who deleted my login information
Post by: DAN_B on November 10, 2012, 01:59:05 AM
Quote from: Joker™ on November 10, 2012, 01:16:13 AM
http://wiki.simplemachines.org/smf/Administration_-_I_accidentally_lost_my_admin_account!_What_can_I_do
OK I have the query window up, ready to submit, does this look right?



UPDATE *****28_smf1_members SET ID_GROUP = '1' WHERE memberName = 'adminsusername'
Title: Re: I'm the adminisrator who deleted my login information
Post by: Joker™ on November 10, 2012, 04:35:37 AM
Just make sure that the username you have created is placed in the query in place of 'adminsusername'.

Except that just make a backup of database and forum.
Title: Re: I'm the adminisrator who deleted my login information
Post by: DAN_B on November 10, 2012, 09:46:44 AM
Quote from: Joker™ on November 10, 2012, 04:35:37 AM
Just make sure that the username you have created is placed in the query in place of 'adminsusername'.

Except that just make a backup of database and forum.
Ok, I did not do that, I do not have this worked out yet.
I have the smf phpadm > member data open; I see all the various columns IS the members SET ID_GROUP = '1'  the identifier for member to be the Administrator?

entering the 1 line of script; that gives a new adm. username entry;  I will next:  go to smf login, enter new username, click forgot password, so to get the reset password page?
Title: Re: I'm the adminisrator who deleted my login information
Post by: Colin on November 10, 2012, 01:20:42 PM
If the query isn't working then just right click on your user and edit. Change the column ID_GROUP to 1 and it will do the same thing. It should not create a new user.
Title: Re:[Solved] I'm the administrator who deleted my login information
Post by: DAN_B on November 10, 2012, 06:06:28 PM
I managed to just add a new row[database] with just very little info, the '1' identifier is what let me get back in, then reset password. Big lesson learned, the original administrator has been reduced to a guest and has been fired. Did a lot of clean up.
I think, I wasn't using the query feature correct; for me not being able to use it as a way to reestablish the administration login needed.
Even though I went about in a 2+2=5 kind of way, I am grateful for the help, smf is a good program.
Thanks