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: Image deleted .. another uploaded of same name and DP error  (Read 6177 times)

0 Members and 1 Guest are viewing this topic.

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45

Hey people, I'm having problems with the latest version of coppermine.

I've deleted an album which contained many images.
Now I'm trying to re-upload these images which are to be watermarked and have the same name but when doing so the upload screen shows the red 'DP' sgn claiming the files are in the database, which shouldn't be the case if the images have been deleted.

Anyway of 're-syncing' the database and update it so it realises the images have been deleted?

( I've just installed Burpee's watermark modification .... a few times and am sure I've made no error ).
Logged

Nibbler

  • Guest
Re: Image deleted .. another uploaded of same name and DP error
« Reply #1 on: June 27, 2005, 02:32:49 pm »

Did you delete them using coppermine or via FTP ?
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Image deleted .. another uploaded of same name and DP error
« Reply #2 on: June 27, 2005, 02:53:58 pm »

Through FTP and 'Batch Add' .. the file upload form works fine and watermarks without problem.
Logged

Nibbler

  • Guest
Re: Image deleted .. another uploaded of same name and DP error
« Reply #3 on: June 27, 2005, 02:59:50 pm »

Then you will have to either clean the pic entries from the database manually or wait for me to write something to clean it for you.
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Image deleted .. another uploaded of same name and DP error
« Reply #4 on: June 27, 2005, 03:16:20 pm »

That would be of great help, but what caused the problem?
Why didn't the gallery remove the entries when the pictures the album was deleted?
Logged

Nibbler

  • Guest
Re: Image deleted .. another uploaded of same name and DP error
« Reply #5 on: June 27, 2005, 03:42:02 pm »

Because it doesn't know they are gone. You should always use the coppermine controls and interfaces to remove pictures otherwise they remain in the database and simply become broken links.
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Image deleted .. another uploaded of same name and DP error
« Reply #6 on: June 27, 2005, 03:45:47 pm »

I understand and it's exactly what I did.
When logged in as admin I deleted an album which also removed all images.
Now when I go to re-upload it looks like coppermine didn't remove the entries .. which is the problem.
Logged

Nibbler

  • Guest
Re: Image deleted .. another uploaded of same name and DP error
« Reply #7 on: June 27, 2005, 04:55:36 pm »

OK, unzip the attachment, upload it into your coppermine directory and run it from your browser.
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Image deleted .. another uploaded of same name and DP error
« Reply #8 on: June 27, 2005, 10:54:33 pm »

Thanks for the efforts in helping ..

I'm putting it down to either an error in the watermarking mod or human error when applying the mod as even when I manually remove all pictures from the _pictures table I still get 'duplicate' errors wihch leads me to believe somehow the code first enters pictures into the database then repeats with a watermark. As although showing a duplicate error, when going back to the gallery, the images are there, but not watermarked ...
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.