Download the latest version now.
  • Is JForum useful for you? Please consider helping this project.
 
 
 
 
 
  [Login] Login  [Register] Register   [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing  
JForum is available free of charge, but it cost real money to maintain it. Support the project.
Lost admin  XML
Forum Index » Questions
Author Message
Anonymous



It seems like I've changed my admin users priviliges to non-admin. I log in as adamin but I cant get to the admin pages. Any way to recover from this? * Some days it's just not worth getting out of bed
Rafael Steil
Project Leader
[Avatar]

Joined: 23/12/2003 11:39:21
Messages: 4315
Location: Brazil
Offline

The easier way is to remove all roles and set them again. Do the following in some mysql ( or postgresql ) client":





then get the Admin user_id:



and then make sure the user is in the administrators group. The table is "jforum_user_groups". So, if the Admin user id is 2, you must have an entry like



this should return "2" and "2".

Rafael

This message was edited 1 time. Last update was at 12/03/2005 11:38:23


http://www.flickr.com/photos/rafaelsteil
[Email] [WWW] [MSN]
Anonymous



Perfect! Thanks!
 
Forum Index » Questions
Go to: