I recently moved a Joomla 1.0.x based site I had been running from one hosting service to another. As a result of this move, some of the core setting for Joomla such as the absolute path, mysql host, database, and user details needed to change. It took me a little while find the solution, and I fell into a set of common traps, that other users ran into, with no real feedback on how to recover from it. So here is what I did.
I took a backup of the sql database Joomla, and the files from the webroot (tar ball).
I created a sql database on the new hosting service, and using phpMyAdmin, I uploaded the sql backup.
For the file, I just extracted the files in the new webroot location.
Finally, the configuration settings for Joomla are stored in configuration.php
For Joomla 1.0.x here are the items that need to change:
$mosConfig_absolute_path = '<new absolute path>'; $mosConfig_cachepath = '<new absolute path>/cache'; $mosConfig_db = '<new sql database name>'; $mosConfig_host = '<new sql server>'; $mosConfig_password = '<new sql server password>'; $mosConfig_user = '<new sql server username>';For Joomla 1.5.x here are the items that need to change:
var $log_path = '<new absolute path to web root>/logs'; var $tmp_path = '<new absolute path to web root>/tmp'; var $host = '<new sql server hostname>'; var $user = '<new sql user>'; var $db = '<new sql database name>'; var $password = '<new sql password>';If there is an error in the configuration, Joomla displays the 'Site is down for maintenance' page. If the changes are correct, it should just work.





