Transfer new domain/hosting

Lacroi

New Member
Ok my story is like this:

The old server is lacking of support and always my BW sky rocketed. Now I disable the forums (e.g http://www.olddomain.com.forums)

How do I do the transfer?
I have go into mysql and backup all files. I think I use VB ver 3.7.x and hoping to install the new ver 3.8

I use Filezilla for the ftp program.
  • Suppose I copy ALL files in the /forums using Filezilla, sholud I recopy the new 3.8 /forums
  • What shall I do with the backup sql of the 3.7.x?

BTW from the old server after I get a new hosting company when I disable the (re-direct) I get an error mesage of the global.php such as below:

Warning: require_once(./../global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(612) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/forums/global.php(612) : eval()'d code on line 1

What shall I do? I need all the db intact ... please advice.
 
What you want to do is basiclly the same as if you were installing/upgrading a board except for a few exceptions...

As you want to upgrade to 3.8 theres no need to upload the 3.7 file unless you have edited some and except for the ones that are mod/hack related eg: shoutbox/donations etc etc...

Now what you want to do is create a new database from your cPanel and import your backed up sql file in phpMyAdmin,

If its a big database or you keep getting timed out you may have to use bigdump to import it.
(Instuctions for this can be found on the site aswell as in the file inself)

Once thats done open up includes/config.php and edit your settings - Save

Now instead of installing all you want to do is upgrade as you already have the main structure of vBulletin.

Hope this has helped some what...:)
 
Thanks Hoxxy, I've completed the upgrade to 3.8 BUT there is one problem see this code:
Warning: require_once(./../global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(609) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chiaros/public_html/forums/global.php(609) : eval()'d code on line 1
What I missed?
 
Make sure global.php is in your main directory...
eg:
mysite.com/forum/global.php
or
mysite.com/global.php
 
yes its there inside forums/global.php and it still have some problems.

suppose.... at the new hosting company I install a fresh copy of ver 3.8 THEN I copy the sql from the OLD hosting compny... can this be done?

If there's an option of db can I copy only that's related such as :
  • Registered users
  • Their user's category (Moderators, Super Mod..etc)
  • The forums and threads
  • Inferno Shouts pro
  • and photoplog users & graphics
 
back up data base, install database and run install/upgrade.php as mentioned above then login to admincp and go to:
admincp >> Maintenance >> Update Counters

hit all the buttons one by one
 
Dear Hoxxy,

I just could'nt get into the admincp because of:
Warning: require_once(./../global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(609) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chiaros/public_html/forums/global.php(609) : eval()'d code on line 1
see it here :- http://www.mychiaroscuro.net/forums

Any other solution like say... If I reinstall a new ver3.8 (new NOT upgrade) on the the hosting company and then I upload all from the backup sql? Can this be done?


BTW, I juz could'nt follow the steps for the bigdump and I'm still waiting replies from the owner.
 
...(new NOT upgrade)
you wil still need to run an upgrade as your current DB is 3.7.x

Warning: require_once(./../global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(609) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chiaros/public_html/forums/global.php(609) : eval()'d code on line 1

Make sure all .php files to do with mods/hacks are uploaded.

open global.php and make sure first line reads this:
PHP:
<?php
and not this
PHP:
<?
also make sure thats all thats on that line
could'nt follow the steps for the bigdump

Open bigdump.php and enter your details:
Code:
$db_server   = 'localhost';
$db_name     = 'db_name';
$db_username = 'db_username';
$db_password = 'db_password';

save....

Create a new directory/folder on your server
Upload DB and bigdump.php to that directory/folder

Run:
yoursite.com/newfolder/bigdump.php

Then hit the go button...
 
Ok.... remember on the 1st question?

I guess I ave follow every steps for the upgrade as such :

  1. I upload the GYSN 3.8 package ALL into the /forums directory thus overiding old files
  2. delete install/install.php
  3. run install/upgrade.php
  4. Follow every steps of beta's until 3.80 version
  5. Finally prompted everything has completed
  6. There's a log-in page as admin for the admincp
  7. but got the same code error of the global.php

I think the system now is at ver 3.8 only has problems on the global.php declarations.
That is why I wanted to 'transfer' the newly upgraded (but not working because of the global.php) mysql backup into a new hosting company; by installing fresh ver 3.8 (only using 'old' mysql db that just created on the old server).

Hope you understand this....

Can this be done. If it can be done can I only copy a few db from the old ones, such as user, privilages, forums threads,...
 
Create a new directory/folder on your server
Upload DB and bigdump.php to that directory/folder
huh?... gotta upload the db into the directory? I hope Filezila can cope with this.
Will try this way.

BTW, suppose the saved/backup SQL named is new_forumsdata.sql, can I renamed it according to the hosted prefix e.g. newhost_forum.sql and put it as $db_name = 'newhost_forum'?
 
Back
Top