forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: niuck on April 04, 2007, 04:23:42 pm

Title: Duplicate images on batch upload
Post by: niuck on April 04, 2007, 04:23:42 pm
Hi!. Ok, no idea what is going on here. I have read your troubleshooting doc, and the sticky post but no luck. I have access to php.ini and all looks good, same with folder perms (777).

The weird thing is that the DP icon comes up randomly.. on one go 60% of the images can get the evil DP and on another try 5%.
I checked the debug, but cant see any errors there.

Any ideas?

http://88.206.153.122/fester/

070331 Kane 2 <-- where i get dupes atm
login test | t3st0
Title: Re: Duplicate images on batch upload
Post by: niuck on April 17, 2007, 10:10:33 pm
Looks like i need a bump here.
Title: Re: Duplicate images on batch upload
Post by: Joachim Müller on April 18, 2007, 09:14:04 am
The test user account you posted doesn't have upload privileges ::). Do exactly as suggested in the upload troubleshooting section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble).
Title: Re: Duplicate images on batch upload
Post by: niuck on April 19, 2007, 05:07:00 pm
The test user account you posted doesn't have upload privileges ::). Do exactly as suggested in the upload troubleshooting section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble).
Sorry about that. It should work now!
I have followed that guide so the configuration looks good to me.

Please try again.
Title: Re: Duplicate images on batch upload
Post by: Joachim Müller on April 20, 2007, 07:56:28 am
You haven't done as suggested: number of file uploads is set to 5 (set it to 1), number of uri uploads is set to 3 (set it to 0).
Don't be lazy, test things before posting stuff here. I'm reluctant to do your homework.
Title: Re: Duplicate images on batch upload
Post by: niuck on April 21, 2007, 12:13:25 am
You haven't done as suggested: number of file uploads is set to 5 (set it to 1), number of uri uploads is set to 3 (set it to 0).
Don't be lazy, test things before posting stuff here. I'm reluctant to do your homework.

Real sorry, i forgot i restored the settings again after trying some more some day ago. Debug is also on now.
I blame the lack of sleep as well as cheap beer.
Title: Re: Duplicate images on batch upload
Post by: Joachim Müller on April 21, 2007, 10:15:02 am
Regular http uploads worked fine. Send me a PM that contains:
* A link to this thread
* A coppermine admin account
* a deep link to a folder that contains FTP-uploaded images that don't already exist in your database

Upload approx. 10 images using FTP upload into the separate folder mentioned above and don't yet batch-add them.
Title: Re: Duplicate images on batch upload
Post by: niuck on April 21, 2007, 01:11:54 pm
I forgot to mention in the pm that uploading just a few pictures works. But when i try bigger amounts like 15-30 with batch upload then i start to get the famous red DP icon.
Title: Re: Duplicate images on batch upload
Post by: Joachim Müller on April 22, 2007, 01:19:36 pm
niuck by PM:
Hi!
First of all, thanks for taking the time to help.

Here is the info:

http://forum.coppermine-gallery.net/index.php?topic=42827.0
Admin account: ****/****
http://grebo.mine.nu/fester/albums/2007/test/

I did find a way to get it working although not quite the right way.
I add the files with batch upload as usual, then when i get the dupes i delete them.
Then copy back the pics that went missing after that, and chmod/chown them.
Then i use admin tools and "update thumbs and resized photos" and then update about 10 pictures at the time.

That's how i do it atm, but using batch upload and get all added doesn't work unfortunately.

Regards
Peter

Possible culprits:

I batch-added the files from http://grebo.mine.nu/fester/albums/2007/test/ to the album "070413 Sjön (http://grebo.mine.nu/fester/thumbnails.php?album=902)", which worked flawlessly. You'll have to delete them as you see fit.

The files you batch-add are way to huge; they consume a lot of webspace and lots of resources when batch-adding. You should batch-resize them on your client before uploading, see the corresponding tutorial (http://coppermine-gallery.net/tutorial/)