Copying Joomla database from one server to another

Soldato
Joined
24 Sep 2005
Posts
20,184
Location
Middlesbrough
Hi guys.

I've been trying to get a website which works perfectly on one domain to work on another server but it just isn't happening.

I've followed this perfectly but I cannot get the site to work

Once I've imported the database and amended the config.php file it's just throwing up random database errors and I cannot fathom as to why?

Would someone be so kind as to take a look for me?
 
That's quite an old guide. You may be better checking the official docs which are likely to be more recent in case the process has changed in newer versions:

http://docs.joomla.org/Copying_a_Joomla_website

Thanks.

It shouldn't matter if the directories are different does it?

In one server the web files are contained in public_html but the other is under httpdocs/sitename/.

But then I've changed the config.php to reflect this.
 
It can matter, and there are some separate instructions. But based on your reply I have a feeling you may not have set the full path correctly.

Put the following in a file called path.php and upload to your host:
<?php echo getcwd() . "\n"; ?>
 
Back
Top Bottom