![]() |
Remove an Unalterable / Undeletable User
fixed now thank you
|
You have a Moderator that's gone weird on you? And you can't demote him back to just a Registered User? Maybe while you are working out this problem you can use the access masks and make it so he can't even see the forums?
|
if this is the case then while u solving your problem and if u r the only one who has access to the ftp rename the admincp and modcp folders to something else so he cant log in there and do damage.
Also only userid`s u specify in config.php file are unalterable so does this user have access to the ftp ?? |
The file is includes/config.php and the line you need to look for is
$config['SpecialUsers']['undeletableusers'] = ''; |
OMG, I just tried to do this, add user id 1 as undeletable, and now I'm getting database errors...what on earth did I do wrong?:confused::(
|
Quote:
|
I'm not receiving any in my e-mail...not sure why. I can't believe this is happening...can you help me, please?:( I'll give you any access you need.
Everywhere on my site it's saying the database has encountered a problem. --------------- Added [DATE]1192643220[/DATE] at [TIME]1192643220[/TIME] --------------- https://vborg.vbsupport.ru/external/2007/10/13.gif |
When you edited your config.php file, did you make a backup of it first? It sounds like you messed up your mysql user/password information or other database information, like changing mysql to mysqli or something in the config file.
|
But all I changed was a number...if I went back and changed it back, shouldn't it still work...and yes, the username and password has changed...how can I resolve it?
I haven't changed anything else. |
Quote:
|
Make sure your mysql username and mysql password are correct in the config file. If you don't know what these are supposed to be, check with your host.
If you're sure that the only thing you changed in the file is the undeletable user, then maybe the file didn't get uploaded correctly. Try re-uploading it. |
<i>Ok, question: In the FTP there's the config.php and a config.bak...should they both be in there?</i>
|
Quote:
|
I'm not exactly sure what you mean...you want both the config.php and config.bak?
--------------- Added [DATE]1192646060[/DATE] at [TIME]1192646060[/TIME] --------------- Now I'm getting this error...bizarre. Database error in vBulletin :mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)/community/includes/class_core.php on line 273 |
Quote:
|
The problem was in hand, and is now fixed.
|
Quote:
EDIT: Thank you, GearTripper...Paul fixed me up. |
Where did you exactly add the "1"....also JFYI a .bak file can be downloaded directly from your server so you may want to remove it.....
|
Quote:
|
Quote:
|
Quote:
Well, my site is somewhat of an extension of me, so, yes, you fixed me up by fixing my site.:D Thank you again. *Deezelpope thinks: Thank Heaven for smart people.* |
fixed now thank you
|
Quote:
|
All times are GMT. The time now is 09:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|