forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: Steve.H on April 01, 2004, 07:17:26 pm

Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Steve.H on April 01, 2004, 07:17:26 pm
Hi all,

Well, first, I would like to appologize if this is a "duplicated" post, if there's already a post with this subject, can someone "link" it to me?

---

I just signed up for a new WebHosting, a very nice one, it costs U$48,00 (per Year the Standard plan), they accept PayPal and it includes:

- 2GB Space
- 30GB Bandwidth
- Cpanel
- Unlimited MySql/E-mails/Subdomains
- ImageMagik, GD and etc...

And i'm interested in moving my CPG gallery, ENTIRELY (with comments, picture description, top 10, most viewed, etc...) to this new server.
The pictures and the galleries i already downloaded all of them, including the thumbnails.

I want to know, what i need to do.
I think the first step would be, "donwload" the entire site from the actual hosting server and than Upload it to the new Server.

But i'm wondering... what about the Comments, Description?
How can i transfer it into the new server?

Can someone help me in this task?
I would appreciate a lot.

Thanks in advance.
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: shoobeedoodoo on April 01, 2004, 10:46:44 pm
Just curious, but what webhost are you now using?

Thanks!

-Stephen
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Steve.H on April 01, 2004, 11:53:41 pm
Sure, i'm not ok about the "adverteisment" politic over here.
So i'll PM you with the Hosting information.

Hope it might help you.
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Casper on April 01, 2004, 11:54:09 pm
Upload the coppermine files to your new site, keeping the exact same structure.

Do a database dump from your existing database, and copy it to your new database.
Now update the settings in your include/config.inc.php on the new server, and away you go.

remember to go into config and change your setting for 'Target address for the 'See more pictures' link in e-cards'.  Tis is more important than it seems.
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Casper on April 01, 2004, 11:55:24 pm
No need to pm, you can be open.  There is even a thread where we ask people to recommend good webhosts for cpg.

edit;  Ozmosis, moved your reply to the thread on good webhosts, thanks.
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Steve.H on April 03, 2004, 06:16:53 pm
Hi Casper,

First of all, thanks for moving my reply to other thread.
---

It's seems like (ok, I'm sure) that i did something wrong on the "moving".
I made what you told me, I kept the same structure (all the directories) and "uploaded" the databases (as they were exported from the old host).

I've edited the file: config.inc.php (before uploading), changed the desired values.

And now, when i though everything was ok, when trying to access my new site, the browser returns the following error:

Warning: main(include/init.inc.php): failed to open stream: No such file or directory in /home/stevehu/public_html/album/index.php on line 20

Fatal error: main(): Failed opening required 'include/init.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/stevehu/public_html/album/index.php on line 20

Would you know (or someone else) what i did wrong this time?
Well, that's it for the moment.

---
Maybe some usefull information:
- PhpAdmin (Cpanel) used on Export and Import Database.
- My old host, my databases had the following PREfix 'STEVEH_' my username. And my NEW host is 'STEVEHU', does it interfers? But Of course, on Config.Inc i've changed them to 'STEVEHU_'.
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Steve.H on April 07, 2004, 08:39:41 pm
Up?
(i really need some help on this).
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Casper on April 07, 2004, 09:18:46 pm
Sorry, I missed this before.

Try this thread, http://forum.coppermine-gallery.net/index.php?topic=2323
If that's no good, do a search 'Failed AND opening AND required AND include'.  Ther's a few threads all with similar results.
Title: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Steve.H on April 14, 2004, 05:10:42 am
Hi Casper!

Thanks for your help, and sorry for the 'delay' of my Reply.
Things just went as they should... i got a Full Migration of my Entire CPG (including Comments, Views Counter, Ect...).

That's it.
Thanks again,
Title: Re: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Craig Walsh on May 23, 2004, 01:07:32 am
I'd like to move hosts, too.  Having problems with my current host.  I was hoping for 1-2-3 instructions (about the only ones I understand these days, I'm afraid).  I got lost with this part:

Do a database dump from your existing database, and copy it to your new database.
Now update the settings in your include/config.inc.php on the new server, and away you go


Please advise how I do a "database dump" or please point me in the direction of these instructions.  I've looked, but haven't had any joy.  Do I "dump" (when I find out how) from my existing host to my computer, and then upload the "dump" from my computer to the new host?

Thanks for your help.  I appreciate it very much.

Craig
Title: Re: [Solved]: Move CPG Entirely into a new Hosting Server.
Post by: Casper on May 23, 2004, 12:15:11 pm
To do a database 'dump', do this;


That's it.  Now amend your config.inc.php, and you should be done.