vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I move 6 people out of a usergroup when it errors out? (https://vborg.vbsupport.ru/showthread.php?t=51814)

Gutspiller 04-19-2003 07:51 AM

How do I move 6 people out of a usergroup when it errors out?
 
I'm trying to move some users out of a usergroup and I get this error:

Code:

There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Database error in vBulletin Control Panel: Invalid SQL: SELECT COUNT(*) AS users FROM user,usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.cancontrolpanel=1 AND user.userid<>
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
Date: Saturday 19th of April 2003 04:40:12 AM
Script: /forumz/blah
Referer: http://www.theforumz.com/forumz/blah

I took somethings out and replaced with "blah" just incase they could be abused.

I have done my research and it looks like this is the infamous php 4.2x (i think that version is right) upgrade problem, where older VBs have problems working with newer versions of PHP. I know I need to update to the latest version of php, but because of all the tweaks on my forum I'm waiting for VB3 to do this. I have work I need to do and am at a stand still.

I was hoping there might be a work around, so I don't have to update my VB code now, only to update it again once VB3 is released. Any query or something I can run manually that will help me get 6 users from one usergroup to another?

I desperately need this, if anybody could help me I would GREATLY appreciate it.

Thanks!

Xenon 04-19-2003 11:28 AM

[SQL]UPDATE user SET usergroupid=x WHERE userid=y[/sql]

but you should really upgrade your board if you want to be save from hackers.....

it doesn't take that long even for real strong hacked boards..

Gutspiller 04-19-2003 07:11 PM

Quote:

Today at 05:28 AM Xenon said this in Post #2
[SQL]UPDATE user SET usergroupid=x WHERE userid=y[/sql]

but you should really upgrade your board if you want to be save from hackers.....

it doesn't take that long even for real strong hacked boards..

Many thanks!

I'm partily worried about updating my board because of my so many hacks, but I'm also affraid that I will get lost half way through.

If I backup all the php files in my forum directory and then when I upload the new files, if they don't work I can always replace them with my old ones I just backed up right?

How often do hacks stop working after a manual update?

Xenon 04-19-2003 11:38 PM

nope, once you've done the DB changes it's hard to restore the old status, just if you have a complete DB Backup.

Second question: I never lost any hack through updating.
If you are carefully and know what you do you won't loose anything.


All times are GMT. The time now is 01:22 PM.

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.01020 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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