coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: loverboy on November 02, 2004, 04:49:02 PM

Title: Moving gallery from one domain to another
Post by: loverboy on November 02, 2004, 04:49:02 PM
Hi , I have 1.3.2 setup on one of my sites.  But I am now moving my site over to a different website.  All the users/gallerys/pictures/videos I'd like to move over too, what's the quickest /easiest way to do this while keeping it all intact?

Thanks!  ;D
Title: Re: Moving gallery from one domain to another
Post by: Casper on November 02, 2004, 04:54:26 PM
copy all files across, keeping your directory structure.

Make a dump of your database, and use it to fill your new database on the new server.

Edit your include/config.inc.php to reflect the changes.

Browse to your new location, login, and make the required changes in your config setup.

That's it. 
Title: Re: Moving gallery from one domain to another
Post by: Binks on November 22, 2004, 12:59:43 AM
I have qite the same problem, but when i moved all the files from the old domain to the new, and created database with dump of the "old" one, the site wich normaly should indicade the gallery, gives me "Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'binks_copp2@localhost' (Using password: YES)"
What did i do wrong??

Binks
Title: Re: Moving gallery from one domain to another
Post by: lamama on November 22, 2004, 01:33:40 AM
I'm not sure, but have you updated the database login and/or password? I would think they are not the same on the new server/webspace. Like Caspar above mentioned: "make the required changes in your config setup" - of coppermine. You can do it with any text editor, but pay attention to save it as "plain text".

Quote from: loverboyBut I am now moving my site over to a different website.

Addionally to what Casper said:

If you have direct access to your new server (root access), you can save a lot of time and bandwidth if you use wget to transfer all the files. Make sure you set the right permissions (chown, chmod) after you copied your side.