Advanced search  

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

Pages: [1]   Go Down

Author Topic: Uploading Backup Pictures to a working database  (Read 3153 times)

0 Members and 1 Guest are viewing this topic.

hokum

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • Coppermine Photo gallery
Uploading Backup Pictures to a working database
« on: February 23, 2005, 10:53:45 pm »

Hi all.

Somehow, all my images and a number of folders got removed from my web area. I have no idea how but it did, that question will be for another thread.. :)

However, I now have a database full of comments, id's etc. that all correspond to images that are no longer there. If I upload the pictures all that happens is they get added to the database rather than simply replacing the old images of the same name.

So my question is, how can I get my pictures back onto the website and associated with all the exisiting views and comments?

I'm sorry if this is covered elsewhere, I've had a look around but all I seem to see are database backup threads, not picture backup threads.

Cheers for any help.

Siggy
« Last Edit: February 24, 2005, 08:00:51 pm by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Uploading Backup Pictures to a working database
« Reply #1 on: February 23, 2005, 11:05:01 pm »

The database just keeps track of where the pictures are. If you place your files in the same location, the database should find them without you having to batch add or upload.
Logged

hokum

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • Coppermine Photo gallery
Re: Uploading Backup Pictures to a working database
« Reply #2 on: February 23, 2005, 11:56:04 pm »

that was what I was thinking.

However I have the situation where I have looked at my SQL and for instance I have one picture whose filename is 102_0210.JPG and whose filepath is mandy_walker_2003/

I've uploaded that picture, to that particular directory and I still cant get anything displayed. Do you think there could be anything else?

Thanks for your help.

EDIT: AHA! I have that picture appearing now but the thunbnail still doesnt work. I think my next step is to just run through all the settings and make sure they are ok. thanks again for your help
« Last Edit: February 24, 2005, 12:03:41 am by hokum »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Uploading Backup Pictures to a working database
« Reply #3 on: February 24, 2005, 01:01:53 am »

Go to admin tools and recreate the thumbnails.
Logged

hokum

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • Coppermine Photo gallery
Re: Uploading Backup Pictures to a working database
« Reply #4 on: February 24, 2005, 07:59:15 pm »

many thanks, thats done the trick.

Now to investigate what I need to do to protect my files from getting wiped by what was called a "rogue script" on my ISP forums. I feel another thread coming on!  ;)

Actually I'm just going to see if I can get everything up and running first. thanks again for the assistance.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Uploading Backup Pictures to a working database
« Reply #5 on: February 24, 2005, 08:01:19 pm »

You're welcome. I'm glad it worked out.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.