Creates duplicates with batch-add Creates duplicates with batch-add
 

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

Main Menu

Creates duplicates with batch-add

Started by Yasmin86, March 08, 2015, 01:10:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yasmin86

I've been adding -a lot- of files to my new gallery over the weekend, and last night and this morning I suddenly ran into a new problem with my last couple of albums: When I batch-add files, it creates duplicates. They aren't duplicates via my FTP, and the album they go into is empty.

Example album with duplicates: http://www.ryanpaeveynet.com/gallery/thumbnails.php?album=84 Originally I uploaded about 95 files or so via FTP, but as you can see, the album now contains 165. I even unchecked the ones that had the DP icon before adding them to the album during batch-add, but they still seem to have made it. (I also get the radar icon on some)

I made a test account:
name: tester
password: tester

Deleting one of the duplicates (say one of the two "099.jpg") doesn't help, it deletes them both.  I set the "default upload method" to "simple" and tried uploading 099.jpg (renamed it 099-test.jpg) again and it worked no problem.

I created a test album as the troubleshooter asks, and even that duplicated. Uploaded a small image with the test user and it worked fine.

Thanks in advance for any help, hope I did everything right!

Yasmin86

Am I not getting any help because I did something wrong in my post or because nobody can actually help me? My problem still persists, unfortunately  :-\

Αndré

Have you added a keyword to that album? If so, that's probably intended behavior of the album keyword feature (have a look at the docs for more information).

Yasmin86

I haven't added any myself, but it says 'admin' there as default (can't remove it, it just pops back up)

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi58.tinypic.com%2F15prcdh.jpg&hash=e79d46011673ff9befbb0a18381d40157f6c2664)

When I click Keyword Manager it shows nothing.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi61.tinypic.com%2F30nj7sy.jpg&hash=00ea29fdd93728f379dac9f530eae605e2639329)

Αndré

Please have a look at that thread: http://forum.coppermine-gallery.net/index.php/topic,77686.msg375519.html#msg375519

A user already had the same issue. It turned out to be a browser cache issue. Please delete the album keyword from the affected album(s), clear your browser cache and check again if the album keyword has been removed and if the "duplicates" don't exist anymore.

Yasmin86

Thanks! I swear I searched before I posted, but that post didn't come up. I see they didn't use the same words as I did though.

Anyway, I cleared my cache and uploaded three albums, and all is good so far! Seems to have solved the problem, thanks a lot - eternally grateful!

Yasmin86

Ok. I've uploaded lots of albums all day and it's been fine, but now it's back again. And there are no keywords this time. I even cleared my cache again and tried right after, but it still happened :(

allvip

Do you use album keyords in Album properties?
If an album has a keywords (let's say dress) then all the images that have the keyword dress will show up in that album and in the original album (the album that contains the image).


Yasmin86

Nope. And I just looked back at the other albums, and now one of them has duplicates, which did not happen when I batch added them, as with the others. Very, very strange.

allvip

This link gives me an error. Can you post an album link with duplicates:  http://www.ryanpaeveynet.com/gallery/thumbnails.php?album=84


Yasmin86

I deleted the two that gave me duplicates while batch adding (I can do it again if it helps you?). But this is the one where duplicates occured -after- I already, successfully, uploaded everything: http://ryanpaeveynet.com/gallery/thumbnails.php?album=106

(Btw, appreciate all the help!)

allvip

The files have the same name and they are in the same folder. Is not possible for two files with the same name to be in the same folder. Is clear that you don't have duplicates on your server.

I made a test on my gallery and I can not upload and image already uploaded with batch add in another album but I can uplod it in the same album. Maybe you

allvip


Yasmin86

Maybe I what? Yes their names are the same because they're duplicates? They weren't when I uploaded them.

I'm trying again, and when I made a new album just now, it also duplicated. Right there in the Album Manager (as I was changing the order of the albums it duplicated.)

I uploaded pictures to this new, empty album, and got the duplicate icon on a lot of them again when batch adding (see attachment). This is the album: http://ryanpaeveynet.com/gallery/thumbnails.php?album=116

As for update: I have 1.5.34. Isn't that the most recent version?

allvip

Both images have the same name (i002.jpg), show in the same folder (albums/television/general hospital/2015/january/january 5) but they show twice in the same album (January 5, 2015) . Plus they have diffrent image pid: 5325 and 5325.

Maybe you shoud upgrade.
The tester acount is no use. In coppermine only the admin of the gallery can upload via batch add.

allvip

Quote from: Yasmin86 on April 16, 2015, 12:53:07 AM
As for update: I have 1.5.34. Isn't that the most recent version?

Yes, but the upgrade will overwrite all coppermine core files and can fix your issue.
I use batch add and I never seen a think like that.

Yasmin86

Yeah, it's weird, because I have two other Coppermine galleries (one I've had for 4 years) and I've never experienced this problem before on either of those. Thanks for your help.

Yasmin86

(By the way, I originally posted it here in uploads but I think André moved it to misc. Just FYI).

allvip

Did you edited core coppermine files?
I'm a trusted coppermine member. Can I login as an admin so I can batch add files. You can change your password after I finish.
First you have to create an album in the albums directory like January 6 and upload some pics.