Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 3 Months, 4 Weeks ago Locked out of admin permissions [urgent]
#2
Solved: 8 Years, 3 Months, 4 Weeks ago
(2012-11-16, 11:09 AM)WitherBones Wrote: Setting myself to a developer group with secondary group of root admin locked me out of being able to edit admin permissions, which was something the root admin group could do so I thought adding it as a secondary group would give me the allowances of both groups....

when I switched to the main admin account though, it too was locked out. As is everyone.

I need to undo this. How do I alter the php files to allow an account into the admin permissions again? this is dire, thank you.

Try this query to set the primary group to admin again.

 UPDATE mybb_users SET usergroup = 4 WHERE uid = 1;

Replace 1 with your uid if it is not 1. And replace mybb_ with whatever prefix if you are using a custom one for your db tables.


Messages In This Thread
RE: Locked out of admin permissions [urgent] - by borbole - 2012-11-16, 12:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)