Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Move CPG Entirely into a new Hosting Server.  (Read 7471 times)

0 Members and 1 Guest are viewing this topic.

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
[Solved]: Move CPG Entirely into a new Hosting Server.
« 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.
Logged

shoobeedoodoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #1 on: April 01, 2004, 10:46:44 pm »

Just curious, but what webhost are you now using?

Thanks!

-Stephen
Logged

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #2 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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #3 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.
Logged
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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #4 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.
Logged
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

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #5 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_'.
Logged

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #6 on: April 07, 2004, 08:39:41 pm »

Up?
(i really need some help on this).
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #7 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.
Logged
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

Steve.H

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 46
[Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #8 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,
Logged

Craig Walsh

  • Coppermine regular visitor
  • **
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 51
    • Lucies Farm Ltd.
Re: [Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #9 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
Logged
Craig Walsh
CPG Photo Gallery - www.bark.ch
Member of the Association of Photographers (AOP)

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [Solved]: Move CPG Entirely into a new Hosting Server.
« Reply #10 on: May 23, 2004, 12:15:11 pm »

To do a database 'dump', do this;

  • Open your database using your db tool, such as phpmyadmin.
  • Click on database name, and you should see all the tables in the main area.
  • Click 'export', then 'select all', then 'save as file', then 'go', and save to your hard drive.
  • Now go to your new host.  Create a new empty database.
  • open this database and click on 'sql'. Click the 'browse' button, and go to your saved file. Click 'go'

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

Logged
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
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.