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: duplicate images, but can't delete correctly..?!  (Read 6658 times)

0 Members and 1 Guest are viewing this topic.

kev@num

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
duplicate images, but can't delete correctly..?!
« on: April 02, 2006, 12:06:17 am »

hello!! i'm using CM 1.4.2, there's around 1000 images in the gallery.. but quite a few of the albums have the same pictures twice, and right next to each other.. if i delete one through the admin part of CM, it deletes the image, but the one remaining shows the "red cross" as it now can't load the image!!! does anyone know how to fix this or a script to run, or somewhere i can look/fix this??

here's a little screenshot when i choose to "sort" a particular album so that you can see how ONE filename has two entries!! it's baffled me.. i've tried to search on here but coulnd't find the same problem :(

(http://www.snailofsatan.com/duplicateentries.jpg)

any help would be much appreciated!!!
thanks in advance :)
kev.
Logged

dazzler

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Minidirectory
Re: duplicate images, but can't delete correctly..?!
« Reply #1 on: April 02, 2006, 11:52:49 am »

i get this problem too.. just a point in the right direction would be good

Daz
Logged
Find your local miniclub at the  *Link Removed*

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: duplicate images, but can't delete correctly..?!
« Reply #2 on: April 03, 2006, 07:16:05 am »

post two deep links to identical pics. Upgrade to the most recent stable version cpg1.4.4
Logged

dazzler

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Minidirectory
Re: duplicate images, but can't delete correctly..?!
« Reply #3 on: April 03, 2006, 08:20:18 am »

i am using the latest version and i get this when i batch add files, it seams to add random doubles/triples then when i try to delelte it will not let me clean delete jus tthe one image i have to delete all of them.. other than that everything is fine
Logged
Find your local miniclub at the  *Link Removed*

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: duplicate images, but can't delete correctly..?!
« Reply #4 on: April 03, 2006, 08:28:48 am »

Please post URLs to the pics, as GauGau requested.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: duplicate images, but can't delete correctly..?!
« Reply #5 on: April 03, 2006, 09:40:36 am »

i'm using CM 1.4.2
vs.
i am using the latest version
One of those two statements is wrong, that's why I suggested upgrading ::)
Logged

kev@num

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: duplicate images, but can't delete correctly..?!
« Reply #6 on: April 04, 2006, 01:13:37 am »

hello, thanks for checking this out, i've just upgraded to 1.4.4 and here's a link to a small album which has got this problem:


http://www.innovation.gb.com/galleries/thumbnails.php?album=70

as you can see there are four images, but should be only two. I hope you can help, and hopefully point me in the right direction :)
thanks again,
kev.
:)

(even if you know of a mysql statement we can run which will remove all duplicate entries in the DB if that's what's happening :))
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: duplicate images, but can't delete correctly..?!
« Reply #7 on: April 04, 2006, 06:45:26 am »

what happens when you click "delete this file"?
Logged

kev@num

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: duplicate images, but can't delete correctly..?!
« Reply #8 on: April 04, 2006, 11:10:16 am »

if i click delete, it will delete the image (like the large/normal sized version) and it will also remove one of the thumbnails (the one i click) but it will also leave the remaining thumbnail which was also showing the original image, but as the image is deleted, the thumbnail is now one of those Red x's in a box, like one of these:

(http://www.club3g.com/forum/images/smilies/redxdance.gif)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: duplicate images, but can't delete correctly..?!
« Reply #9 on: April 05, 2006, 09:54:39 am »

I'm not sure why this happened, but I suggest re-uploading the "missing" file by FTP to the exact location where the coppermine database entry is pointing to and then using admin tools to re-create the thumbnail and intermediate image.
Logged

kev@num

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: duplicate images, but can't delete correctly..?!
« Reply #10 on: April 05, 2006, 12:49:05 pm »

ah wicked, thanks very much for your suggestion, it might take a little while though with around 1000 images in different albums, but i guess i can give it a go!
do you think there might be some sort of statement i can run in mysql which would delete all duplicates maybe? even if you don't know what it is, but think it might be possible?

thanks again :)
kev.
Logged

Hana

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: duplicate images, but can't delete correctly..?!
« Reply #11 on: May 05, 2006, 03:18:01 pm »

I'm not sure why this happened, but I suggest re-uploading the "missing" file by FTP to the exact location where the coppermine database entry is pointing to and then using admin tools to re-create the thumbnail and intermediate image.

I have the same problem with the duplicate images, so did what you was said above, I uploaded the images again in ftp, then went on to the admin tools and did the update thumbnails and resized images for that folder, but when I clicked 'submit' it took me on to the /util.php page which was blank, and these new thumbs_ and normal_ images aren't in the albums folder in ftp.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 21 queries.