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 photos  (Read 4490 times)

0 Members and 1 Guest are viewing this topic.

nixder

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Duplicate photos
« on: February 29, 2012, 07:30:44 pm »

Hi everyone!
I have a problem with duplicating photos after uploading.
To add photos I use "Batch add files" then choose cathegory and then making a thumbnails.

After "Batch add files" I see in album some duplicate photos.

Don't know why everything it was.

Help me please!

I am sorry for my English! Hope you understand!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Duplicate photos
« Reply #1 on: March 01, 2012, 04:17:53 pm »

Please post a link to your gallery and some more detailed explanations. Does it happen always, regardless of the album, file and folder?
Logged

nixder

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Duplicate photos
« Reply #2 on: March 01, 2012, 06:35:02 pm »

Yes It happening always, regardless of the album, file and folder after I uploading.

What is detailes do you need?

I have latest version of the gallery cpg1.5.18

PHP Version 5.2.17
MySQL 5.0.91
Linux server
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Re: Duplicate photos
« Reply #3 on: March 01, 2012, 06:47:41 pm »

Please post a link to your gallery
and a test user (non-admin) account which is able to upload files.

Additionally, please post the debug output which you get as admin.

Does it also happen when you use the flash uploader or the single HTML upload form?
Logged

nixder

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Duplicate photos
« Reply #4 on: March 01, 2012, 09:15:51 pm »

Αndré, I want to send you PM with account details but can't do it beucause it's locked for me.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Duplicate photos
« Reply #5 on: March 02, 2012, 08:59:06 am »

The PM system has been disabled because of frequent abuse. Please post the requested data here, a moderator will delete it on request.
Logged

nixder

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Duplicate photos
« Reply #6 on: March 02, 2012, 12:04:55 pm »

Does it also happen when you use the flash uploader or the single HTML upload form?

It happens when I use flash uploader or the single HTML upload form no differents.

Admin account
http://195.16.91.97/newgallery
username: Andre
password: [removed]

For example in this album I have 44 photos but in folder just 43

05.jpg dublicates for two
http://girlsaloud.tv/newgallery/thumbnails.php?album=106

To see how it was you can test.

Use "Batch add files" choose
"462" folder and choose "Perou" album and save for default.
"458" folder and choose "Robert Erdmann" album and save for default.
"464" folder and choose "Ultimo Spring/Summer Collection" album and save for default.

And you will see duplicate photos.
« Last Edit: March 02, 2012, 12:34:40 pm by Αndré »
Logged

nixder

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Duplicate photos
« Reply #7 on: March 02, 2012, 12:59:16 pm »

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Re: Duplicate photos
« Reply #8 on: March 02, 2012, 01:37:31 pm »

"462" folder and choose "Perou" album and save for default.
http://girlsaloud.tv/newgallery/thumbnails.php?album=107

"458" folder and choose "Robert Erdmann" album and save for default.
http://girlsaloud.tv/newgallery/thumbnails.php?album=108

"464" folder and choose "Ultimo Spring/Summer Collection" album and save for default.
http://girlsaloud.tv/newgallery/thumbnails.php?album=109

-> no dupes in any of the albums


Never post admin account data publicly! I asked you to post a regular user account, without any admin privileges. I changed the password and removed it from your post. However, you said it happens always, which I just disproved. So it's probably a client side issue. I used Firefox 10 to batch-add the files to the albums.
Logged

nixder

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Duplicate photos
« Reply #9 on: March 04, 2012, 11:01:43 am »

Αndré, thank you for the testing!

Now it happens sometimes. This album has two duplicate photos http://195.16.91.97/newgallery/thumbnails.php?album=250 (06.jpg) I don't know why it was. I had used FireFox 10, IE 10. How can I find a reason of the problem?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Duplicate photos
« Reply #10 on: March 05, 2012, 03:27:04 pm »

First of all you should decide to access your gallery via IP or domain. As I have no access to IE10, you should batch-add some pictures with that browser and then check if it has created duplicates.

Usually Coppermine rejects dupes, but I'm currently not sure where exactly that will be done and thus if may be possible to get dupes when the browser sends duplicate requests.
Logged

nixder

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Duplicate photos
« Reply #11 on: March 05, 2012, 04:16:41 pm »

Αndré, I have used gallery via domain only. Just for this topic I publicated IP for secure.

Me and second administrator have used FireFox 10, IE 10, Opera and have duplicates. I don't think that browser sends duplicate requests because it so different browsers.

Do SQL log help you to understand the problem?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Duplicate photos
« Reply #12 on: March 05, 2012, 04:24:42 pm »

The SQL log might help. If we don't see duplicate INSERT statements, then there's something wrong with your database. If not, you have to investigate if/how it's reproducible that your gallery inserts some pictures more than once.


It happens when I use flash uploader or the single HTML upload form no differents.
That means it also happens for those uploaders just sometimes?
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.