vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Everything messed up after moving to new hosting HELP! (https://vborg.vbsupport.ru/showthread.php?t=256847)

MichelangeloITA 01-09-2011 10:51 PM

Everything messed up after moving to new hosting HELP!
 
Hi all guys,

I had to move to a new webhosting so I did a backup copy of my DB (80MB gzip compressed).

When I restored it everything were "cleaned": no posts, no users, no hooks, just a fresh installation of vB4.

Via Phpmyadmin everything looks fine, but I don't know where I fail :\

P.s. Before backup I run vB4.0.8, after I installed vB4.1.0 pl2.

P.p.s. Sorry for my bad english ._.

Michelangelo :)

Brak710 01-10-2011 02:31 AM

Make sure your configuration files and stuff are referencing the proper DB.

MichelangeloITA 01-10-2011 11:51 AM

Yes, it does, I can install/upgrade vB, I think I should upload vB4.0.8 and then upgrade to 4.1.0 :\

Lynne 01-10-2011 05:40 PM

You say you were running 4.0.8 and then installed 4.1. Did you run the upgrade.php script on the database after importing it?

MichelangeloITA 01-10-2011 08:03 PM

Quote:

Originally Posted by Lynne (Post 2147124)
You say you were running 4.0.8 and then installed 4.1. Did you run the upgrade.php script on the database after importing it?

Yes I did but it failed so I *STUPID ME* directly installed vB4.1.0. :(

Is there any way to downgrade?

Lynne 01-10-2011 08:58 PM

Downgrade to 4.0.8 from 4.1.0? Why? Your posts aren't going to suddenly appear if you did a fresh install.

To get back your posts/threads/users, create a new database, give your mysql user permission to it, upload the correct files to the server, create a config.php file that points to this backup database. Now see if your site is back up.

MichelangeloITA 01-10-2011 09:08 PM

Ahhhhh so my mistake was to have uploaded DB first instead of forum files?? ._."

New DB + user => uploading forum files via FTP => restoring data in the new DB + config.php, ok?

Lynne 01-10-2011 11:08 PM

It's OK to upload the files before the database, just don't run the upgrade script before you have the database imported (or you will end up doing a fresh install).

MichelangeloITA 01-10-2011 11:50 PM

Ok Lynne thank you so much :D
I did everything with Mysqldumper, but now I get this during the upgrade process:

Quote:

Database error in vBulletin 4.0.8:

Invalid SQL:
SELECT * FROM vbusergroup ORDER BY title;

MySQL Error : Table 'dbname.vbusergroup' doesn't exist
Error Number : 1146
Request Date : Monday, January 10th 2011 @ 08:38:45 PM
Error Date : Monday, January 10th 2011 @ 08:38:45 PM
Script : http://www.mydomain.it/install/finalupgrade.php?step=1
Referrer : http://www.mydomain.it/install/finalupgrade.php
IP Address : xx.xxx.xxx.xx
Username :
Classname : vB_Database
MySQL Version : 5.0.91-community
@___@

--------------- Added [DATE]1294715543[/DATE] at [TIME]1294715543[/TIME] ---------------

Solved :D

Thank's Lynne and Brak710 ;)


All times are GMT. The time now is 09:57 PM.

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.01074 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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