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 [2] 3   Go Down

Author Topic: Creates duplicates with batch-add  (Read 26569 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Creates duplicates with batch-add
« Reply #20 on: April 16, 2015, 10:52:07 am »

It seems that, for some reason, the affected files got added twice (same file path and name, but different picture ID). So what we now see is not related to the albums keyword feature.

Please create a new test album. Additionally, please create a new test folder on your server, upload some files and batch-add them to the new test album. Do you still/always get duplicates? If so, please again create a test album, new test folder and test files and try if it happens when you use the Coppermine default theme "curve": http://ryanpaeveynet.com/gallery/?theme=curve

Have you installed any plugins or applied modifications? If so, please (temporary) disable/remove them and try again.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #21 on: April 16, 2015, 01:19:34 pm »

André:

I just tried again. Successfully uploaded about 3 or 4 albums before it happened again (this album: http://ryanpaeveynet.com/gallery/thumbnails.php?album=126)

Tried with the curve theme with a new album and new pictures, still got duplicates (see attachment). This album: http://ryanpaeveynet.com/gallery/thumbnails.php?album=122

I don't have any plugins. Haven't modified any core coppermine files as far as I know. Just installed as usual and added the custom theme.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Creates duplicates with batch-add
« Reply #22 on: April 16, 2015, 08:54:48 pm »

Please provide a zip package which contains files where it happens always, so we can test and maybe reproduce it ourselves.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #23 on: April 17, 2015, 12:32:45 am »

I'm terribly sorry, but I don't understand what you mean with "files where it happens always"? The files I uploaded that became duplicates?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Creates duplicates with batch-add
« Reply #24 on: April 17, 2015, 09:22:47 am »

Yes. I doubt that your files are the cause, but we need to be sure.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #25 on: April 23, 2015, 12:14:18 pm »

Ok, here you go, the ones I added in here got duplicated :)
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Creates duplicates with batch-add
« Reply #26 on: April 23, 2015, 01:51:36 pm »

for Andre

Sometimes the hosting provider moves your website to another server or the server had a crash etc and the coppermine files got corrupted.
I think replacing (overwrite) the coppermine files with new ones may help. She only has to download coppermine and upload all files but not the albums, docs, images and themes directory and anycontent.php, then run update.php.
Is not so hard.
How to overwrite: http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any

What do you think? Could be a corrupted files problem?


I forgot IMPORTANT: the include folder has config.inc.php.
If you delete that then you will cry. Do not delete the entire include folder.

« Last Edit: April 27, 2015, 11:22:15 pm by allvip »
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Creates duplicates with batch-add
« Reply #27 on: April 23, 2015, 01:59:34 pm »

for Andre

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 id.

Could be a corrupted database?
Maybe her host provider has a backup of the database before the day the duplicates start happening.
On my host I had the possibility to restore the database from a older backup they saved for me.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Creates duplicates with batch-add
« Reply #28 on: April 27, 2015, 11:08:57 am »

I just batch-added your provides files to my server and they were added just once (no duplicates). Please do as allvip suggests and overwrite all Coppermine updates like you'd do during an update.

If it still doesn't work, you can check the following:
1. Download your whole gallery and database to your local computer and check if the issue also occurs there.
2. Install a second test gallery on your server and and check if the issue also occurs there.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #29 on: April 27, 2015, 12:05:04 pm »

Ok, I'll update it! Should I be uploading the "albums" part from the latest version too, or will that erase all the pics I've uploaded so far? (I'm using Transmit FTP)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Creates duplicates with batch-add
« Reply #30 on: April 27, 2015, 12:08:29 pm »

Please have a look at the upgrade documentation.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #31 on: April 27, 2015, 12:11:37 pm »

Yes, it says:

"In fact, you could upload the albums folder as well - the one that is contained in the package is empty anyway. The recommendation not to upload this folder is only meant as a pre-caution for some users who have "funny" settings for their FTP apps: some exotic FTP applications delete folders existing on the server and then re-create an empty folder on the server-side. This would of course be a disaster for all existing galleries during the upgrade process, as you would lose all your uploaded files in your gallery. However, the number of FTP apps that is set up in that strange way is small and therefore, it won't hurt for most to upload the albums folder as well. If you're not sure, use one of the FTP clients recommended by the devs."

And Transmit isn't on the list. I don't think Transmit is very "exotic", but I'll just don't for now then.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #32 on: April 27, 2015, 01:16:27 pm »

I got this error message. Does this have anything to do with anything? Should I just open my local include folder and upload the things inside instead of the folder itself?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Creates duplicates with batch-add
« Reply #33 on: April 27, 2015, 01:31:22 pm »

Please use one of our recommended FTP apps, e.g. FileZilla, as there's no need to remove any directory for an upgrade.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #34 on: April 27, 2015, 03:08:44 pm »

I've tried installing FileZilla 4 times now, restarted my laptop and everything, but it freezes here every time. Man, I'm just having bad luck all around....
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Creates duplicates with batch-add
« Reply #35 on: April 27, 2015, 07:43:00 pm »

I got this error message. Does this have anything to do with anything? Should I just open my local include folder and upload the things inside instead of the folder itself?

You should contact your webhost for this.
I belive your hosting provider is http://www.hostdime.com/.
They have 24h live chat support.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Creates duplicates with batch-add
« Reply #36 on: April 27, 2015, 07:54:54 pm »

I've tried installing FileZilla 4 times now, restarted my laptop and everything, but it freezes here every time. Man, I'm just having bad luck all around....

If FileZilla won't work then make a folder named new in your gallery folder and upload cpg1.5.34.zip, then extract the zip archive (I don't know if your webhost has that option).

Move all files from the folder new to gallery folder (to overite the files) but not the albums, docs, images and themes directory and anycontent.php, then type in your browser http://ryanpaeveynet.com/gallery/update.php.

Don't move all at once. First the bridge folder, then the css etc. Step by step so you will make it without problems. At the end you can delete the new folder.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #37 on: April 27, 2015, 08:24:02 pm »

My webhost is Surpass.

I just got an email from them:
Quote
Hello,

We received an unauthorized support request from the following contact that was attempting to receive support with deleting the include directory from your gallery directory for a coppermine gallery.
http://ryanpaeveynet.com/gallery/

Reason for editing: is my private email.

Question: I can not delete a directory (folder).

I would suggest that if this individual is going to continue to put in support requests, that you add the user(s) to your Authorized contact list so that they may receive support in the future.

Now I'm stressing out a little. Who is?
« Last Edit: April 27, 2015, 08:30:29 pm by allvip »
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Creates duplicates with batch-add
« Reply #38 on: April 27, 2015, 08:25:49 pm »

My webhost is Surpass.

I just got an email from them:
Now I'm stressing out a little. Who is?

I am and I told them that I am from coppermine and ask them to help you.
Logged

Yasmin86

  • Coppermine novice
  • *
  • Country: no
  • Offline Offline
  • Gender: Female
  • Posts: 35
Re: Creates duplicates with batch-add
« Reply #39 on: April 27, 2015, 08:29:11 pm »

Oh, ok, good. Lol. I can add you to the authorized contacts list so you can receive support.
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.027 seconds with 20 queries.