vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help with admin (https://vborg.vbsupport.ru/showthread.php?t=61543)

dmogg 02-14-2004 06:45 AM

Help with admin
 
Okay I had a few problems and deleted a table, well I have since rebuilt the table and my board was down for maintance, now I try and log into the admincp and it will not recognize me as the admin, how do I fix this? I looked at the table in myphpadmin and it says I am an admin yet VB wont let me in. Plz help

g-force2k2 02-14-2004 07:07 AM

Try running the query.

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

x being your userid.

Cheers,
g-force2k2

dmogg 02-14-2004 06:40 PM

I ran that querie and this is the message I got.

Error

SQL-query :

UPDATE user SET usergroupid =6 WHERE userid = TheNotoriousMogg

MySQL said:

#1054 - Unknown column 'TheNotoriousMogg' in 'where clause'

[Documentation] ยท [Back]

dmogg 02-14-2004 06:43 PM

Also what happens is I go to log into the admincp and it says "thanks for logging..blah blah" and it kicks me back into the login screen, I went into my phpadmin and found the 'user' table and 'usergroup' table and the 'user' table says I am an admin, usersgroup 6 and the 'usergroup' table says usergroup 6 us administrators.

Thank you

Zachery 02-14-2004 08:09 PM

Quote:

Originally Posted by dmogg
Also what happens is I go to log into the admincp and it says "thanks for logging..blah blah" and it kicks me back into the login screen, I went into my phpadmin and found the 'user' table and 'usergroup' table and the 'user' table says I am an admin, usersgroup 6 and the 'usergroup' table says usergroup 6 us administrators.

Thank you

USERID not USERNAME

Userid is your ID based apon the the order in which you registered

If you installed vBulletin your probally userid 1

dmogg 02-15-2004 06:17 AM

I ran the query and still I cannot log in.

I tried adding another one of my mods as a admin by running this query and he could not either.

the usergroup table looks fine

Thanks for all your help.


All times are GMT. The time now is 04:42 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.01412 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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