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: Installation help  (Read 5190 times)

0 Members and 1 Guest are viewing this topic.

bzymom3423

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Installation help
« on: September 13, 2005, 06:01:28 am »

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
« Last Edit: September 15, 2005, 07:20:41 am by Abbas Ali »
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Installation help
« Reply #1 on: September 13, 2005, 07:55:02 am »

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
Logged
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Installation help
« Reply #2 on: September 13, 2005, 01:58:59 pm »

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.
Logged
Chief Geek at Ranium Systems

bzymom3423

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Installation help
« Reply #3 on: September 14, 2005, 06:01:56 am »

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
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Installation help
« Reply #4 on: September 14, 2005, 08:33:06 am »

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
Logged
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

  • Guest
Re: Installation help
« Reply #5 on: September 14, 2005, 08:36:15 am »

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

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Installation help
« Reply #6 on: September 14, 2005, 08:46:30 am »

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
Logged
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Installation help
« Reply #7 on: September 15, 2005, 07:20:02 am »

http://www.amtam.com/gallery2/index.php seems to be working fine to me. Marking the thread as solved.
Logged
Chief Geek at Ranium Systems
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.