vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Moving vBulletin to a new Server / Domain (https://vborg.vbsupport.ru/showthread.php?t=320993)

InPhaseVB 12-07-2015 09:07 AM

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:)

Dave 12-07-2015 09:17 AM

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.

InPhaseVB 12-07-2015 09:43 AM

Any way of clearing the cache on the new server?

Dave 12-07-2015 09:56 AM

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".

InPhaseVB 12-07-2015 11:15 AM

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...

Dave 12-07-2015 11:30 AM

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.

InPhaseVB 12-07-2015 01:21 PM

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.

RichieBoy67 12-07-2015 02:39 PM

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.

InPhaseVB 12-07-2015 03:21 PM

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?

DemOnstar 12-07-2015 03:28 PM

Did you go to admin CP/ settings
/site name/url/ contact details?


All times are GMT. The time now is 03:30 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.01344 seconds
  • Memory Usage 1,737KB
  • 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