vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Dropped a table, instead of line...help? (https://vborg.vbsupport.ru/showthread.php?t=67067)

Chief Corn 07-11-2004 03:18 PM

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.

Dark_Wizard 07-11-2004 03:29 PM

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!

Andreas 07-11-2004 11:52 PM

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.

Chief Corn 07-14-2004 02:17 AM

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


All times are GMT. The time now is 08:31 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.01054 seconds
  • Memory Usage 1,719KB
  • 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
  • (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