vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Server to Server Migration (https://vborg.vbsupport.ru/showthread.php?t=245776)

Exeter 07-03-2010 05:21 AM

Server to Server Migration
 
I am having trouble moving my forum from one server to another. here is the process:

1) Backup DB using Mysql admin
2) restore DB on new server
3) Copy the files to new webserver directory
4) update config.php to use the new DB location

Now I am getting a DB error without any information when I access the admincp.
Disabling all hooks and using tools.php does not help.

What am I missing?

Thanks

I did not get any help on vbulletin.com.

Marco van Herwaarden 07-03-2010 06:53 AM

Right click on the error page and choose show page source. Copy & paste the error message here.

Exeter 07-03-2010 07:55 PM

<!--
Database error in vBulletin 3.8.4:

Invalid SQL:

SELECT styleid, dateline, title
FROM h_style
WHERE styleid = 2
ORDER BY styleid ASC
LIMIT 1;

MySQL Error : Unknown column 'dateline' in 'field list'
Error Number : 1054
Request Date : Saturday, July 3rd 2010 @ 01:53:53 PM
Error Date : Saturday, July 3rd 2010 @ 01:53:54 PM
Script : http://localhost/admincp/index.php
Referrer :
IP Address : ::1
Username :
Classname : vB_Database
MySQL Version :
-->

profanitytalker 07-03-2010 11:12 PM

Have you tried repairing your db?

Exeter 07-04-2010 02:44 AM

Yes, I tried to repair the tables using tools.php; no luck

I still have the forum running on the original server. No problems there.

Marco van Herwaarden 07-04-2010 05:31 AM

Did you install the files of the same vBulletin version on the new server/localhost?

Was the restore successful without any warnings?

Exeter 07-04-2010 05:36 PM

I copied the files from the live server. I did not do a local install.
Is that required? In my original post I detailed everything I did.

If there is a process for migration, please let me know. I could not find any documentation for this.

Thanks for your help

Marco van Herwaarden 07-04-2010 09:59 PM

Documentation on server is move is at: Moving Servers

Exeter 07-04-2010 10:35 PM

Thanks, I followed these steps as indicated. No luck.

I also verified that the column 'dateline' is not present on my live server (the source that is working fine), and on a fresh install of VB 4.0.4.

this is getting annoying

Marco van Herwaarden 07-05-2010 03:07 AM

Please check if the config.php of the copied installation on your localhost is pointing to the correct database (the restored database) and with the correct table prefix.


All times are GMT. The time now is 10:22 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.01046 seconds
  • Memory Usage 1,728KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete