Knowledgebase: VisiChat Installation
Data Migration Tool
Posted by VisiChat Hosting on 17 February 2015 11:42 AM

Enable and edit migrate-config.php

First enable migrate-config.php file. It is located in the chat's install folder:

install/migrate-config.php

Edit migrate-config.php in a text editor and change its $enabled variable to read $enabled=true. Save the file.

Second scroll down in the file and add your old Visichat database details. Here is an example you can use as reference:

// Enter your OLD visichat database details here
$options = array(
 'driver' => "Mysql", 
 'host' => "127.0.0.1", 
 'name' => "visichat", 
 'username' => "root", 
 'password' => "", 
 'prefix' => "visichat_");
  • driver - leave as "Mysql".
  • host - your server IP address.
  • name - name of the old database.
  • username - the old database username.
  • password - if you have set a password for the old database password, input it here.
  • prefix - leave as "visichat_" or modify if your database used custom prefix.

Now you can save and close the file.

Copy Members Folder

Copy your OLD members/ folder to NEW files/members/ folder.

In general, OLD refers to your old Visichat directory structure and NEW refers to your new Visichat application directory.

Copy Thumbnails Folder

Copy all of the files from your OLD members/thumbnails/ folder to NEW files/thumbnails/.

OLD refers to your old Visichat installation directrory, regardless of what you actually called it, and NEW points to the new application directory for Visichat to which the data is to be moved.

Run the Migration Tool

To run the migration tool successfully you will need to perform the following steps:

  • In your browser, go to your chat's admin panel and log in with your admin account.
  • Then, open yourchataddress.com/install/migrate-config.php in your browser.
  • Click the Start button to begin the data migration process - easy!

Data Migration
(4 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).