Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-11-2004, 03:18 PM
Chief Corn Chief Corn is offline
 
Join Date: Nov 2002
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Dropped a table, instead of line...help?

Was "trying" to cleanup my forum's mysql of old hacks, etc that were'nt in use using phpmyadmin. Searched for "Shoutbox" (vbShoutbox 1.03 non-htl) which never worked and started deleting phrases and such. Where i screwed up was deleting lines from the "setting" table where there were shoutbox lines and dropped the table. Now I can't do anything on the site. So I tried making a new database and installed a seperate forum to export the setting table to my old....but it didn't do a thing. Is there a way to export my forums usernames, posts, threads, etc. into the new database? Both installations of vB are running 3.03.
Reply With Quote
  #2  
Old 07-11-2004, 03:29 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chief Corn
Was "trying" to cleanup my forum's mysql of old hacks, etc that were'nt in use using phpmyadmin. Searched for "Shoutbox" (vbShoutbox 1.03 non-htl) which never worked and started deleting phrases and such. Where i screwed up was deleting lines from the "setting" table where there were shoutbox lines and dropped the table. Now I can't do anything on the site. So I tried making a new database and installed a seperate forum to export the setting table to my old....but it didn't do a thing. Is there a way to export my forums usernames, posts, threads, etc. into the new database? Both installations of vB are running 3.03.
Ouch...I take it you didn't backup your database before doing this did you? Here is what you would need to do:
  • * on the new install reinstall all the hacks that were on the other db.
    * export the data from all the table except the settings table which you deleted and import the data to the new forum.
    * Check out the functionality of the new forum if everything is fine then...
    * Backup the old forum's db and after that dump all data.
    * export data only from new forum and import into old forums db...
    * Good Luck!
Reply With Quote
  #3  
Old 07-11-2004, 11:52 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm ... I just made a little test (dropped my setting table) and the board is still working fine, except there are some DB erros in the admin control panel.

For normal operation, the setting table is not required AFAIK as all settings are cached in datastore.

So it should be possible to export a default setting table into you production board to get it back working, you might also want to replace the values in this fresh table with the cashed ones.
Reply With Quote
  #4  
Old 07-14-2004, 02:17 AM
Chief Corn Chief Corn is offline
 
Join Date: Nov 2002
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:disappointed: no luck. reinstalled all hacks except for vbportal since i'm going with vbadvanced cmps now. imported a few of the big tables (forum, user, usergroup, post, thread, forumpermission, pm, pmtext) but get errors in the admincp, and viewing the forum gives the error "header already sent". i can see all the members in the member list, but forums doesn't show the categories or posts. threads show though in vbadnanced from the last 10 threads but i don't have permission to view.

well i'm back on a fresh install. any idea if importing to phpbb or invisionboard (which ever imports the most) just pulls the tables or does it have to have a fully functional board? if so i can import to another board, then import everything to my new vb3 installation.
Reply With Quote
Reply


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 11:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03674 seconds
  • Memory Usage 2,188KB
  • Queries Executed 11 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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