vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Remove an Unalterable / Undeletable User (https://vborg.vbsupport.ru/showthread.php?t=160426)

MetalMilitia 10-17-2007 05:51 AM

Remove an Unalterable / Undeletable User
 
fixed now thank you

Lynne 10-17-2007 02:25 PM

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?

lasto 10-17-2007 03:01 PM

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 ??

Analogpoint 10-17-2007 04:13 PM

The file is includes/config.php and the line you need to look for is

$config['SpecialUsers']['undeletableusers'] = '';

deezelpope 10-17-2007 04:38 PM

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::(

Analogpoint 10-17-2007 04:39 PM

Quote:

Originally Posted by deezelpope (Post 1362443)
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::(

What are the errors?

deezelpope 10-17-2007 04:44 PM

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

Analogpoint 10-17-2007 04:48 PM

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.

deezelpope 10-17-2007 04:52 PM

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.

SCRIPT3R 10-17-2007 04:58 PM

Quote:

Originally Posted by deezelpope (Post 1362456)
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.

post the info you changed exactly from your config.php; we'll let you know what it should be. you also might have left of a quotation mark. :)

Analogpoint 10-17-2007 04:59 PM

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.

deezelpope 10-17-2007 05:06 PM

<i>Ok, question: In the FTP there's the config.php and a config.bak...should they both be in there?</i>

Analogpoint 10-17-2007 05:10 PM

Quote:

Originally Posted by deezelpope (Post 1362467)
Ok, question: In the FTP there's the config.php and a config.bak...should they both be in there?

config.bak won't do anything and won't hurt anything. and it just might save you if something's messed up in config.php. If you trust me (since they contain sensitive info), send me both in a PM and I'll see if I can identify what the problem is.

deezelpope 10-17-2007 05:18 PM

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

SCRIPT3R 10-17-2007 06:16 PM

Quote:

Originally Posted by deezelpope (Post 1362476)
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

you keep posting problems... i told you what you need to do if you want to get this fixed right away. if not, just keep replying to everyone else trying every idea under the sun. your choice.

Paul M 10-17-2007 06:36 PM

The problem was in hand, and is now fixed.

deezelpope 10-17-2007 06:36 PM

Quote:

Originally Posted by GearTripper (Post 1362534)
you keep posting problems... i told you what you need to do if you want to get this fixed right away. if not, just keep replying to everyone else trying every idea under the sun. your choice.

Please accept my apology...I've been on the phone with my host, etc...

EDIT: Thank you, GearTripper...Paul fixed me up.

dyna88 10-17-2007 06:40 PM

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.....

deezelpope 10-17-2007 06:40 PM

Quote:

Originally Posted by Paul M (Post 1362555)
The problem was in hand, and is now fixed.

OMG Paul! Thank you, from the bottom of my heart.

Paul M 10-17-2007 06:49 PM

Quote:

Originally Posted by deezelpope (Post 1362556)
EDIT: ......Paul fixed me up.

:eek:

deezelpope 10-17-2007 06:54 PM

Quote:

Originally Posted by Paul M (Post 1362569)
:eek:

LMBO!!!https://vborg.vbsupport.ru/external/2007/10/12.gif You're so silly.

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.*

MetalMilitia 10-18-2007 04:10 PM

fixed now thank you

SCRIPT3R 10-18-2007 04:45 PM

Quote:

Originally Posted by MetalMilitia (Post 1363157)
Right. I've edited the config.php numerous times and only put my user number in there. Yet there are still others I cannot moderate.

And yes, admin gone weird on me.

Edit : I password protected the DIR's from the host panel

post your config.php file... or just upload a new default one form the vB install package. or if all else fails and you still can't figure it out, upload and overwright all files with the default ones disable any hacks and plugins, then get tech support from vB.com. or get someone else you trust that knows their stuff to go into your FTP and figure it out. there are soo many ways to get help.


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
  • Page Generation 0.01265 seconds
  • Memory Usage 1,763KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete