Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 02-21-2006, 12:38 AM
LadyJo LadyJo is offline
 
Join Date: May 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Deleted usergroup table

LOOONNGGGG story short... I was trying to create a table, baby in arms screwed the works and now I have no usergroup table. It no longer exists. I need to recreate or restore the table. For all possible info I am running vb3.5.3 and here is the error I am getting:


Quote:
Database error in vBulletin 3.5.3:
Invalid SQL:
SELECT * FROM usergroup ORDER BY title;
MySQL Error : Table 'xxxxxxxxxx.usergroup' doesn't exist
Error Number : 1146
Date : Monday, February 20th 2006 @ 08:15:02 PM
Script : http://XXXXXXXXXXXXXXX/forums/adminc....php?do=modify
Referrer : http://XXXXXXXXXXXXX/forums/admincp/index.php?do=nav
IP Address : xxxxxxxxx
Username : xxxxxxxxx
Classname : vb_database

Forum side everything is fine, YES, this was on a live forum, but on that side its all kosher,, people can post, they have maintained their usergroups, post count, everything. I ony get this erro when I try to access the usergroups section in the admin cp.
any help would be much appreciated!! I basically need to syntax to recreate the table as I am idiot when it comes to phpmyadmin. Thanks to anyone who can help.

Joedee
Reply With Quote
  #2  
Old 02-21-2006, 12:43 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would go to the install scripts for vbulletin, find the sql statement to create the usergroup table and run that query. Then, I would re-create my usergroups.
Reply With Quote
  #3  
Old 02-21-2006, 12:55 AM
LadyJo LadyJo is offline
 
Join Date: May 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dummy here, but where would I find that. I am sorry to be asking such a mundane question.
Reply With Quote
  #4  
Old 02-21-2006, 02:04 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL I did the same thing this morning. The only way to get everything back the way it was before you hosed it is to:
1: Find a fairly recent sql dump.
2: Search it for " your prefix_usergroup.
cut and past that section into phpmyadmimin sql box and hit run

walla you got it back
Reply With Quote
  #5  
Old 02-21-2006, 02:34 AM
LadyJo LadyJo is offline
 
Join Date: May 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for your reply, unfortunately I do not have a sql dump. The last time I did one I had my old computer and wasnt expexting baby to be so squiggly and cause a table to go away.

Is there anyway to rebuild the usergroups and reassign them???
Reply With Quote
  #6  
Old 02-21-2006, 03:05 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Create the table, use usergroupcache (which hopefully still exists) to rebuilt it's information.

Send me a PM with ACP, FTP and phpMyAdmin details ... too lazy to explain in full detail
Reply With Quote
  #7  
Old 02-21-2006, 03:41 AM
LadyJo LadyJo is offline
 
Join Date: May 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you thank you thank you
Reply With Quote
  #8  
Old 02-21-2006, 04:24 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehhehehhhehe dont blame little baby lol
Reply With Quote
  #9  
Old 02-21-2006, 04:28 AM
LadyJo LadyJo is offline
 
Join Date: May 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey I nurse little baby and her feet kick the keyboard all the time... ok so it wasnt ALLLLL little babies fault but ultimately her feet did the final delete...lol
Reply With Quote
  #10  
Old 02-21-2006, 04:32 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehehhehehehehe little baby is learning quick then lol
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:30 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.05156 seconds
  • Memory Usage 2,232KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete