forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: BabeandJamie4Ever on December 16, 2007, 06:35:20 pm

Title: Transfer gallery help
Post by: BabeandJamie4Ever on December 16, 2007, 06:35:20 pm
Im trying to move my gallery to a new host, and am having some problems. Ive read over the steps in the FAQ already. I have my files downloaded through FTP and have already moved them, over to the folder for the new host. I used PHPmyAdmin to get the folder for the mysql database. Now where do I upload the database file? I tried uploading it in the sql folder for the gallery but it doesnt work. Does the mysql database have to have the same name as the old one? Because my new host puts my username in front of the name of the database...
Title: Re: Transfer gallery help
Post by: Joachim Müller on December 16, 2007, 06:50:59 pm
The database is not a folder. You need to create a database dump (backup) on the old server (using phpMyAdmin or similar) and then restore the dump on the new server (again using phpMyAdmin). Subsequently, you don't "upload" the dump anywhere on the new server, but install phpMyAdmin on the new server and then perform the restore of the dump using phpMyAdmin there.
Title: Re: Transfer gallery help
Post by: BabeandJamie4Ever on December 16, 2007, 11:47:55 pm
Ive put my database on the new mysql database through PHPMyAdmin, and installed all the old files through FTP to my new domain. But when I go to my url I dont get the gallery, just an error message about not connectingto the database.
Title: Re: Transfer gallery help
Post by: BabeandJamie4Ever on December 16, 2007, 11:48:40 pm
This is the error message:

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'ailee_lisa'@'localhost' (using password: YES)
Title: Re: Transfer gallery help
Post by: François Keller on December 17, 2007, 07:26:06 am
update the database connection datas in include/config.inc.php
Title: Re: Transfer gallery help
Post by: yaxiiah on December 17, 2007, 09:23:54 pm
well.. had a similar problem.. and i had the same message, i changed the info in that file.. and now it says fatal error.. but i don't know what's the error.. idon't know what do i have to change.. and i don't want to install a new gallery.. because if i do so, i'll have to add 8200 pictures again...
http://www.with-hilary.com/galeria/index.php
Title: Re: Transfer gallery help
Post by: Nibbler on December 17, 2007, 09:38:44 pm
http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: Transfer gallery help
Post by: yaxiiah on December 17, 2007, 10:55:27 pm
ok, i did what it says in the tutorial.. now i have the message saying this

Queries:
------------------
Array
(
   
Title: Re: Transfer gallery help
Post by: yaxiiah on December 17, 2007, 10:57:51 pm
after solving that i'll have my original gallery available? or i will loose all of my albums an dpics?
Title: Re: Transfer gallery help
Post by: BabeandJamie4Ever on December 17, 2007, 11:40:02 pm
I edited that file and now my gallery loads :)

But all files that had been done previously through batch add have "x" 's through them  ???
Title: Transfer Gallery Help 2
Post by: BabeandJamie4Ever on December 19, 2007, 02:56:29 am
Im having trouble switching hosts for my gallery. I have a thread below, and it was marked as solved, but my problem hasnt been solved yet. Ive got my gallery showing up now, but all the files I had batch added show up with an x in them. I have used FTP to move the files into the albums folder, in the folders I had uploaded them into on the old host. What do I need to do to get my batch add files to show up??  ???
Title: Re: Transfer gallery help
Post by: lemonlime on December 19, 2007, 05:48:34 am
I'm also watching this thread because I'm having the same issue. My gallery comes up but none of the pics are showing.
Title: Re: Transfer gallery help
Post by: Joachim Müller on December 19, 2007, 08:22:04 am
@BabeandJamie4Ever: Merged your new thread with the existing one. Your thread got marked as solved because you reported it accordingly. You haven't posted a link to your gallery so far, so we can't take a look. Do so now: post a link to your gallery.

@lemonlime: your issues may or may not be related. Start a thread of your own, providing the needed details.
Title: Re: Transfer gallery help
Post by: BabeandJamie4Ever on December 19, 2007, 06:53:00 pm
Here's a link to my gallery:

www.aileegallery.com (http://www.aileegallery.com)
Title: Re: Transfer gallery help
Post by: Joachim Müller on December 20, 2007, 07:48:15 am
You appear to only have uploaded the files that resided on your hard drive in the first place. You failed to download all files from your old server before uploading them to your new server. That's why only the full-sized pics reside on your webspace - the intermediate images and thumbnails never resided on your client, so you haven't uploaded them to the new server. But don't be alarmed - you can trigger coppermine to re-create the intermediate pics and thumbs by going to the admin tools and selecting the corresponding option there.
Title: Re: Transfer gallery help
Post by: BabeandJamie4Ever on December 26, 2007, 08:46:22 pm
Thanks!! It works. Well for most of them. Some have an error but I can just replace those