Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2008, 11:29 AM
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Moving vbulletin to a new host - the process?

We're moving our forum to a new host with a new domain name for various reasons. We're using a different domain name just so we can get everything moved over and tested ahead of time without having to bring our forum down. When all is working well with a backup of the database, we'll lock the existing forum down, get a fresh dump of our databases and test again. Once all is well, we'll point the old domain name to the new domain name.

Currently, I have all site files and databases imported on the new domain.

I THINK I have all of the config files for vbulletin and other add-ons pointing correctly to the new host. However, when I tried to load the site up, I get a blank page with a database error on it. It just says Database error: the datbase encountered a problem and then the usual other jargan about trying to refresh or contact the system admin. Does anyone have an idea of what I could have missed or if there's something else I must do to make the site load up?

Thanks!
Buster
Reply With Quote
  #2  
Old 10-08-2008, 11:41 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you created the new database, did you use the exact same database name and prefix as well as username and password?

Sounds like maybe you didn't. Check your /includes/config.php file to make sure the database connection parameters are correct for the new site.

Also, you should have received an email with more details about the cause of the error.

HTH
Reply With Quote
  #3  
Old 10-08-2008, 12:04 PM
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I made a point to keep the DB name and password the same to prevent from having to change even more stuff in all of the config files.

I was trying to keep it so all I had to do was change the "DB server name" and the "full path to the forum directory" in config.php.

However, I just opened my config file to assure I didn't have a typo somewhere. I found my DB server name had a space after it before closing the quote and it will now connect, but just gives me a blank white page. When I type the full URL to admincp, it gives me a login prompt. When I enter my login info and submit, I get a blank white page.

Any ideas on that?

Thanks!

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

OK, here's what I've found but am not sure what I'm missing. I cleared my server log and tried a single time to load the home page of my forum. This is the error that was produced:

Code:
PHP Fatal error: (null)() [function.require]: Failed opening required '/home/content/s/a/m/sammythedog/html/global.php' (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/web04/b1894/pow.atvtorture/htdocs/forums/global.php(611) : eval()'d code on line 18
The first path referenced is my OLD host, the second path referenced is my NEW host. So, where have I missed updating the path the the forum in the files. I've made the change in config.php and uploaded it to the new host, overwriting the existing file.

Where could I have missed this reference if it's correct in forums/includes/config.php
Reply With Quote
  #4  
Old 10-08-2008, 01:21 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hard coded in a hack?

The second path is where it's running, the first where it's looking. Check the config.php for duplicate lines with the old host info.
Reply With Quote
  #5  
Old 10-08-2008, 01:32 PM
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I looked in config just for a portion of the reference to the old host using 'sammy' and found njothing in the current config file on the NEW host.

Where would I begin to look for it being hard-coded in a hacK?

Thanks for your help by the way.

Buster
Reply With Quote
  #6  
Old 10-08-2008, 01:34 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not knowing what hacks you use, I just put that out there because some hacks have that in it. You may not have it at all. But something is afoot.

Are you sure the config.php is being overwritten when you upload?
Reply With Quote
  #7  
Old 10-08-2008, 01:46 PM
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, the datestamp is correct on the one on the server. However, I just FTPed it again just for kicks and get the same error in the log.

IF it were a hack I have, where would I look for it? Meaning in what file(s)?

Thanks!
Buster
Reply With Quote
  #8  
Old 10-08-2008, 02:04 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at what hacks you have and read the instructions. Like I said, it was an idea, not an absolute.

Search for sammythedog in files and hook code.
Reply With Quote
  #9  
Old 10-08-2008, 02:13 PM
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you say hacks, do you mean items like adding vbgallery or vbportal, or plugins that were installed through admincp?
Reply With Quote
  #10  
Old 10-08-2008, 02:16 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, exactly. Sorry, old school talk.

Any add ons, modifications, plug ins or products you added to your forum.
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 01:06 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.04296 seconds
  • Memory Usage 2,252KB
  • 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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete