switched to a new host - need help reinstalling switched to a new host - need help reinstalling
 

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

switched to a new host - need help reinstalling

Started by girlongixxer, June 04, 2004, 02:25:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

girlongixxer

I switched to a new host and I would like to know if someone could help me reinstall the gallery.  I have put all the backed up files onto my server via ftp but I'm not too sure what to do next.
~Girl on Gixxer~

hyperion

"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

girlongixxer

The site got cancelled before I could do a backup of the database.  Does that mean I lost everything? 
~Girl on Gixxer~

hyperion

It's unfortunate because it means that you have lost all the comments, ratings, albums/organization, etc. I would ask them if they still have it. 

Make a copy of the entire CPG directory with all its files before you make any chages, so that you will have something to start from again if there are any problems. If they still have the database, ask them to give you a back up file, which will let you restore the database on a new host.  You won't have to do nearly as much work if you can get that file.

If you can't get the database file, you'll need to organize the images in your /albums folder.  You would remove the images with thumb_ and normal_ prefixes. (Move them into a different folder for now, just in case there is a problem later.) The image files without prefixes can the be batch added and reorganized. At this point you should have two image containing folders on your computer's desktop. One should have the plain image files, and the other should have the prefixed image files. Then look in the includes folder and delete the install.lock file and the config.inc.php file.  Clear the /albums and /albums/userpics directories of all the image files. Leave the index.html files. (You should have these image files stored and organized in the other folders at this point.) Then you FTP the Coppermine files to the new host, and you run install.php.  This will create the new Coppermine installation.  You can then use the batch add tool to start putting the pictures back into the gallery. Verify that everything is working before you get rid of that original unmodified copy of your old CPG directory.

If you can get the DB backup file, you can restore the database tables using a database tool.  Then you FTP the CPG folders to the new host and make the required changed to the includes/config.inc.php file, which will contain the information you entered when you first installed Coppermine. You simply change the info here to your new host's info.  This will allow Coppermine to connect to the databases, etc. 
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

girlongixxer

It's been a week now and Yahoo! is not giving up anything.  They cancelled my site and still billed me for another month at the same time suggesting that I leave the site up until the end of the bill cycle. 

I really don't know anything about any of this php and database stuff.....all I know is I backed up all the images and folders from the gallery and I have them saved on my computer.  Every time I click on the install.php, I get this error: the specified path does not exist.  I don't have one single clue.....

I really thought I would be able to just put the files on the server from what I had backed up but I guess it's not going to work..
~Girl on Gixxer~

Joachim Müller

you can't click on install.php on your local pc, because coppermine is a webserver application that can't be run on your local pc. Setting up a server on your workstation is not recommended, since you (as you say) don't know anything about it. If Yahoo still bills you, ask them to get your page up once more, or send you the database backup (dump file). If I remember this correctly hyperion used to go through great pains helping you set up coppermine in the first place - both of you surely don't want to go through the setup process on the new host again. Insist that Yahoo puts your page back online - the dump of the database is really the important part.

GauGau