Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2015, 09:07 AM
InPhaseVB InPhaseVB is offline
 
Join Date: Dec 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Moving vBulletin to a new Server / Domain

Hello, I have been trying to move a v5.1.9 installation from an internal server at my office to a public web server. I moved up the file structure and the restored the database then changed the config.php file in core/includes to point to the new database but when I go to the new site it just redirects all traffic back to the old. I have tried going to the administrator login /admincp/index.php but it just gives a 404 error so I cant change the bburl setting which some posts say is the solution. I have looked in the database and found in the settings table bburl, frontendurl & frontendurl_login
which have the internal server's address but even changing these does not fix the issue. Is their something I am missing? Also as an aside I have noticed that one of the files it is trying to connect to css.php in the root web directory does not exist but works on my internal install is this some sort of routing? Any assistance would be greatly appreciated
Reply With Quote
  #2  
Old 12-07-2015, 09:17 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried changing the URL's and such on the old server, then move the database over to the new server? I don't have experience with vBulletin 5, but it's possible those settings are cached.
Reply With Quote
  #3  
Old 12-07-2015, 09:43 AM
InPhaseVB InPhaseVB is offline
 
Join Date: Dec 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way of clearing the cache on the new server?
Reply With Quote
  #4  
Old 12-07-2015, 09:56 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the vBulletin 5 download from vBulletin.com, there's a folder called do_not_upload which contains a file called "tools.php". Upload that file to the admincp, then run "Update the options cache from the setting table".
Reply With Quote
  #5  
Old 12-07-2015, 11:15 AM
InPhaseVB InPhaseVB is offline
 
Join Date: Dec 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I moved the file to core/admincp then when I go to access it at the browser it fails with:

Warning: require_once(./install/includes/class_upgrade.php): failed to open stream: No such file or directory in /home/ourperfo/public_html/core/admincp/tools.php on line 51

Fatal error: require_once(): Failed opening required './install/includes/class_upgrade.php' (include_path='.:/usr/local/php56/pear') in /home/ourperfo/public_html/core/admincp/tools.php on line 51

I cant see the file either that it is trying to find...

Any ideas? I get the impression the file structure is different...
Reply With Quote
  #6  
Old 12-07-2015, 11:30 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The install folder has to be present as well, you probably deleted it since you're just trying to move over the installation. Simply upload the install folder where it belongs and then access the tools script again.
Reply With Quote
  #7  
Old 12-07-2015, 01:21 PM
InPhaseVB InPhaseVB is offline
 
Join Date: Dec 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I was able to clear the cache, but I still seem to have issues.

http://185.123.97.137/~ourperfo is my temporary url until I move over the domain.

Here is what i have set the values in settings to and flushed the options cache.

bburl - http://185.123.97.137/~ourperfo/core
frontendurl - http://185.123.97.137/~ourperfo
frontendurl_login - http://185.123.97.137/~ourperfo

but there is no style being shown and the links go nowhere.

If I change:

frontendurl - http://185.123.97.137/~ourperfo/core I get styling but links are still broken

But my local install which works was:

bburl - http://crab/vb/core
frontendurl - http://crab/vb
frontendurl_login - http://crab/vb

So I think it must follow that structure.

Thanks.
Reply With Quote
  #8  
Old 12-07-2015, 02:39 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you must follow the same directory structure.

The easiest method is to copy all your files exactly as they are. Then change your dns to point to the new server. I would not bother with setting everything up to use the ip address.

What is your control panel? Plesk and Cpanel have pretty easy options for migration.
Reply With Quote
  #9  
Old 12-07-2015, 03:21 PM
InPhaseVB InPhaseVB is offline
 
Join Date: Dec 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using cpanel.

The reason why I am using the ip/directory is the domain name that it will eventually use is in use. I was hoping to get the site up and running and then switch over to that domain.

Thanks.

I just don't understand why this would not work with the settings as detailed above. I also tried dropping all tables and doing a reinstall with again the settings above but still the same issue. I have moved from a Windows box to a LAMP box would there be something there? I am pretty sure all the files are exactly the same as my local install apart from the db connections.

This is the package uploded vb5_connect_5-1-9_Patch_Level_1_LD326FC698

Maybe permissions?
Reply With Quote
  #10  
Old 12-07-2015, 03:28 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you go to admin CP/ settings
/site name/url/ contact details?
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 05: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.03958 seconds
  • Memory Usage 2,250KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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