The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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.
|
#3
|
|||
|
|||
Any way of clearing the cache on the new server?
|
#4
|
|||
|
|||
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".
|
#5
|
|||
|
|||
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... |
#6
|
|||
|
|||
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.
|
#7
|
|||
|
|||
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. |
#8
|
||||
|
||||
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. |
#9
|
|||
|
|||
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? |
#10
|
||||
|
||||
Did you go to admin CP/ settings
/site name/url/ contact details? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|