forum.coppermine-gallery.net
No Support => General discussion (no support!) => Topic started 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.
-
Just curious, but what webhost are you now using?
Thanks!
-Stephen
-
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.
-
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.
-
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.
-
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_'.
-
Up?
(i really need some help on this).
-
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.
-
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,
-
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
-
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.