vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Update to wrong DB (https://vborg.vbsupport.ru/showthread.php?t=270556)

PimvanJ 09-19-2011 10:59 AM

Update to wrong DB
 
Hi,

I have two forums vBulletin 3.7.3 as main forum and Vb 4.1.3 for testing purpose.

Of course both forum's have different database.

Yesterday I planned a upgrade for the testing forum software from 4.1.3 to 4.1.6 but by mistake I set the wrong db in the config file. (the one for the main forum)

the upgrade for 4.1.6 didn't complete and the the main forum is now useless I get only db error's. :eek:

Is there a way to revert this?
Unfortunately there is no (recent) back-up

Every help is welcome.

Regards,

GavoTrav 09-19-2011 12:00 PM

Your going to have a very hard time fixing it.

Can you get to the admincp and go to the optimization/repair then use mysql schema option at the bottom try repair the database. I recomend backing it up first incase that does worse and someone else finds a fix.

You might also want to look at backing it up atleast once a week if not once a day!

borbole 09-19-2011 12:55 PM

Quote:

Originally Posted by PimvanJ (Post 2247810)
Hi,

I have two forums vBulletin 3.7.3 as main forum and Vb 4.1.3 for testing purpose.

Of course both forum's have different database.

Yesterday I planned a upgrade for the testing forum software from 4.1.3 to 4.1.6 but by mistake I set the wrong db in the config file. (the one for the main forum)

the upgrade for 4.1.6 didn't complete and the the main forum is now useless I get only db error's. :eek:

Is there a way to revert this?
Unfortunately there is no (recent) back-up

Every help is welcome.

Regards,


Can you post here what db errors are you getting?

PimvanJ 09-19-2011 01:48 PM

I see that all errors are from the test forum only, I fix this already by upgrade to the right DB.

The main forum DB does not create anything the screen stay blank.

I cant go to the admincp after login the screen stay blank.

The VBadvanced does load but when I follow a thread I get this;

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_editor.php on line 93
Warning: Invalid argument supplied for foreach() in [path]/includes/functions_editor.php on line 93

I try to fix the main forum with upgrade but that didn't work either.

Then I get this

It is not possible to upgrade directly from vBulletin 2 to vBulletin versions 3.7.x and newer due to incompatabilities in data structures.

If you are currently running vBulletin 2 and would like to upgrade to the latest version of vBulletin, please begin by downloading a version of vBulletin 3.6 from the vBulletin Members' Area.

Lynne 09-19-2011 03:42 PM

This may help - https://vborg.vbsupport.ru/showthread.php?t=255104

But if you don't have a backup, there really isn't much you can do. Could you just bite the bullet and upgrade to 4.x fully?

PimvanJ 09-19-2011 04:14 PM

The latest backup I have is from 1 September - I can live with that.
Upgrading fully to 4.16 is a lot of work and I have far to little time to rebuild the lay-out and all the hacks.

It was a good lesson for backing up every time. :)

Thank you all for the fast respond.


All times are GMT. The time now is 05:34 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.01084 seconds
  • Memory Usage 1,724KB
  • 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