Installation help Installation help
 

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

Installation help

Started by bzymom3423, September 13, 2005, 06:01:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bzymom3423

Our server wiped our Coppermine Photo gallery and replaced it with a script that says security breach. I reinstalled Coppermine and now I need to connect the old database to the new gallery. We have a lot of photos and I would hate to lose the captioning and hard work that was done by our staff.
Can someone please explain if this is possible to connect the old database with the new installation? 
We are using the latest version of Coppermine not the beta version though.

Thank you,
Shawnee Penkacik
Technical Advisor
http://www.amtam.com

artistsinhawaii

Hi byzmom,

I believe, in order to do this, you will need all your old files copied to the same directory (url) structure as it was before and the old data base must still be in the server.

Copy all your files onto your server just the way they were before.
Edit the "config.inc.php" file in the 'INCLUDE' folder of your coppermine installation.  Change the necessary fields to what your old installation was.

That should do it.

Otherwise, you'd have to do it the old-fashioned way of making a dump/update sql of the old database, installing coppermine as a new install. ( you need to delete the install.lock file in the Include Folder if it is there).  Then importing the old data into the new one.


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Abbas Ali

Quote from: madeinhawaii on September 13, 2005, 07:55:02 AM
I believe, in order to do this, you will need all your old files copied to the same directory (url) structure as it was before and the old data base must still be in the server.

Here the "old files" refer to the image files you uploaded/FTPed to the "albums" directory. i.e. the structure of "albums" directory should be the same as it was before.  But if you don't have the old "albums" directory structure then i am afraid you will have to do all the image uploading again.
Chief Geek at Ranium Systems

bzymom3423

Thanks for your help everyone. The old database is in the server and I have done all that you have instructed but got this error message

Notice: Undefined index: debug_mode in /home/amtamco/public_html/gallery2/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query

Is there a way to fix?

Shawnee

artistsinhawaii

Does coppermine open to the Albumlist (default page) when you try to open it?

If so, set the debug mode on and post the error messages.


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Nibbler

Make sure include/config.inc.php has the correct information.

artistsinhawaii

bzymom,

I just tried  http://www.amtam.com/gallery2/index.php and it loaded okay except that there are a number of pictures that do not display in thumbnail and intermediate size.   The gallery button at the top of your homepage doesn't link properly to your gallery URL, but the bottom one does.

To get your pictures to display properly you will need to go to Admin Tools and rebuild the thumbnails and intermediate sized photographs for the albums that do not display properly.

Also run the "update database" utility in the Admin Tools section as well.


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Abbas Ali

http://www.amtam.com/gallery2/index.php seems to be working fine to me. Marking the thread as solved.
Chief Geek at Ranium Systems