Moving gallery from one domain to another Moving gallery from one domain to another
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Moving gallery from one domain to another

Started by loverboy, November 02, 2004, 04:49:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

loverboy

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

Casper

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. 
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Binks

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

lamama

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.