BUG Removing Administrator Rights


Subject: Removing Administrator Rights
I'm recieving this error when trying to remove administrator priveleges from a user:

Spoiler: [ Show ]


I go into the ACP -> USERS -> PERMISSIONS

I enter the username I wish to remove administrator priveleges, change their user level to user. I then click submit and get the above error.

Does anyone have an idea that may fix this problem?

I'm using IP 1.2.0.27a.

Thanks!

Subject: Re: Removing Administrator Rights
Open adm/admin_ug_auth.php
Find (line 405)
Code: [Download] [Hide] [Select]
VALUES ($forum_id, $group_id, $sql_value)";

Replace with
Code: [Download] [Hide] [Select]
VALUES ($forum_id, '$group_id', $sql_value)";


It seems to be a bug...

Subject: Re: Removing Administrator Rights
I made that change and got this error when trying to change the administrator to a user via ACP -> USERS -> PERMISSIONS :

Spoiler: [ Show ]

Subject: Re: BUG - Removing Administrator Rights
Is this user in any group?
It seems that happens because the user isn't in any group.

Try to add it to a group and then remove admin privileges.
If it works it may be a bug...

Greets :mricy:

Subject: Re: BUG - Removing Administrator Rights
The user was in a administrator usergroup and basic user usergroup. I removed the user from both usergroups and tried to change his level back to a regular user, but I keep getting the same error messages that I posted above. I then added this user back to the administrator and user usergroups and still receive the same error.

Thanks for your help Kas. I hope this will be looked at in the next release. :mrgreen:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1611s (PHP: 12% SQL: 88%)
SQL queries: 13 - Debug Off - GZIP Enabled