How to Move a Chat from One Location to Another
Steps
This tutorial explains how to move a Live Helper Chat (LHC) instance from one location to another.
- Dump/Export the database: Use a database tool such as phpMyAdmin to export the database.
- Transfer the chat folder: Move the chat folder from the old location to the new location.
- Import the database: Import the database into the new server.
- Disable the cache: Modify the
settings/settings.ini.php
file to disable caching.
'templatecache' => false,
'templatecompile' => false,
'modulecompile' => false
- Update database settings: Update the database settings in the
settings/settings.ini.php
file.
'db' =>
array (
'host' => '<host>',
'user' => '<username>',
'password' => '<password>',
'database' => '<database>'
- Ensure the cache folder is writable.
- Clear the cache: Clear the cache in the back office.
- Enable caching: Re-enable caching by setting the values in step 4 back to
true
.
Should I export the lh_chat_online_user
footprint table as well?
No, it is not necessary. The table will be populated again. You will only lose the users' browsing paths.