Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
whiteyw80




Joined: Jan 02, 2009
Posts: 3

PostPosted: Sat Feb 14, 2009 2:43 pm
Reply with quote

Hi. I run Nuke Evolution 2.7 Basic, and I'm having this problem. I'm trying to take a user out of the moderator group. I go to Forum Administration, Group Administration, and Management. Select Moderator from the drop down menu, click on "look up group" then I get an error:

[align=center]Could not obtain user info for moderator list

DEBUG MODE

SELECT user_id, username FROM nuke_users WHERE
user_id = 2

Line : 214
File : admin_groups.php[/align]


Am I going to the right section to do this? When I go to my database, it shows that the user is in user level 1 after I manually change his permission settings in the Forum Admin Panel, but he is still in the moderator group and shows up on the site as moderator. Is the database supposed to be looking for the forum id (user_id=2) or should it be looking for user_level=2 for moderator status. I've searched the forums and tried the fixgroup thing but no luck. Any suggestions? Thanks.
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 333

PostPosted: Sun Feb 15, 2009 11:57 am
Reply with quote

user_id 2 in this case means the second user that registered on your site and has nothing to do with group permissions.
What may have happened was that the user account was deleted before you tried to remove him from the group.
If you look at your nuke_users table you can see if the user is still there/still has a username for row 2

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
Groundweasle




Joined: Oct 05, 2009
Posts: 1

PostPosted: Mon Oct 05, 2009 9:29 pm
Reply with quote

DEBUG MODE

SELECT user_id, username FROM nuke_users WHERE user_id = 2

Line : 214
File : admin_groups.php

I have same problem but the username id 2 has been deleted. I cant seem to delete user groups just add new ones and cant edit old ones
 
View user's profile Send private message Visit poster's website
Guardian




Joined: Dec 09, 2006
Posts: 333

PostPosted: Tue Oct 06, 2009 12:06 pm
Reply with quote

If the second user has been deleted then you have a problem because thats usually the admins 'user' account.
When installing any *nuke distribution you create the main God admin account (user 1) then your own personal account (user 2).
I'm not sure how you would fix that, other than creating a new user account and then manually setting the user_id to 2 from within the database using an administration tool like phpMyAdmin.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©