Not all files upload on batch Not all files upload on batch
 

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]

Main Menu

Not all files upload on batch

Started by dcphotos, July 21, 2006, 12:09:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dcphotos

I am having some trouble with batch adding images.
It seems only a random amount of images complete the batch upload.
If I go right back to batch upload, it adds a few more.
after about 5 or 6 tries all the images in the folder get loaded.

I want to add that the results icon is a blue question mark
and if I click on it it open a new window with the OK icon in it.
The file does not upload though.

All the images were created the same way. They are all .jpg files
TIA
Don

Joachim Müller

The number of images you can add in one go depends on server config and file size/dimensions. Read the sticky thread on this board and the upload troubleshooting section of the board and do as suggested there.

dcphotos

Trust me when I say I read and searched the fourms.

Let me try to be more clear.
Let's say I start off with thirty images, all made from the same camera and made as .jpg from the same program.
So, all files are pretty much the same. I ftp them over to my server, log into Coppermine as root as
select batch upload. I choose the album I wish for them to be displayed in and press the upoad button,

I start to see a few OK icons and a few Question mark icons. No pattern, it's not like it's every third one or some pattern. It's random.
Now, let's say of this thirty, fourteen acutally get an OK icon are are loaded into coppermine. That leaves sixteen left.
at this point I go straight back to the batch upload button and repeat the above steps and now maybe six of the files actually upload.

I repeat this untill I have all uploaded. So I do not think it is an issue of the number I start out with. That changes till I am left with all uploaded. The last batch may just be four images and all of those may or may not uplaod all at once.

Thanks,
Don

Joachim Müller

OK, let me quote the important section of the docs I told you to read. For your ease of use, I highlighted the most important bits you failed to do:
Quote4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.

dcphotos

Well, I read it, created the account... no change! ;D

http://dcphotos.dyndns.org/coppermine/index.php

username: test
password: test

Sami

I think you have a php timeout issue , to upload a 32kb jpg image it's takes 14.838 seconds to generate a page
your page generation time is so huge , check your web server
‍I don't answer to PM with support question
Please post your issue to related board

dcphotos

Thanks I'll look into that.
What would one expect the times to be approx?
And any advice on how to speed them up?
Is it a product of my file size, cpu speed, network?
I'm am rather new to php so I open to all suggestions... even reading!
LOL
Don

Sami

sorry but:
- self hosting is not recommanded !
- I can't help you on server optimization , you should ask these question on related forum, we are here to deal with CPG issue ;)
The timeout issue is my idea may be other supporters can find something else ...
‍I don't answer to PM with support question
Please post your issue to related board

dcphotos

#8
And I am NOT asking for help on server optimization. I am asking about
setting for UPLOADING into Coppermine in the coppermine-gallery.net > Support > cpg1.4.x Support > cpg1.4 upload forum.
See, I did as Gau Gau asked and read about max_execution_time
I don't see what a common time might be so I simply asked you what your was/is.
and what effects the speed.

As to self hosting, why the hell not? I have the servers, bandwidth and COPPERMINE! ;D
Don

Sami

My point was your server settings to generate php pages , all of php pages was slow not only uploading ( your php module or CGI setting was wrong ), right now as I see it's much better so issue solved then?
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

There are several good reasons why you shouldn't be self-hosting. They have been discussed many times over already on this board and many other places. Main reason is: unless you're a pro and are ready to maintain your server 24/7, you will not be able to set up your server in a secure way. Self-hosting newbies easily fall victim to several hacking approaches without even knowing or realizing that their box is being abused for relaying spam or doing other stuff you wouldn't want it to be used for. Another reason why you shouldn't be self-hosting: your server apparently doesn't have the power to run a coppermine-driven page. Slow responses and time-outs are bound to keep site visitors away.

dcphotos

Not sure why your getting 14.838 seconds to generate a page with only a 32kb upload.
I am getting around 1.459 seconds with a 460k upload. I will look into this more and see what I can find out.
My setting was at 30sec and I increased it to 120 and no change. Still the 30 is more than your upload time of 14.838, so I don't think it's timing out.
This wasn't always the case. Batch uploading was working fine, this just started happening. 
I had to turn off debugging for now as clients were wondering what that was.

As for the Self hosting - that is for another board not in the upload board. (not respecting the "one issue per thread" policy can give you negative Karma!)
Thanks again,
Don

dcphotos

I solved the problem. It appears as though the plug in "CPGMark v1.2" was the culprit.
I disabled it on all three of my coppermine galleries and now I can batch upload ALL images at one time.
I was lucky I was self-hosting as this afforded me the time and access to my server to figure this out.
I'd like to sincerely thank all who help me to figure this out "Thanks DCPHOTOS"!
As to why the plug-in affects the batch upload I will see if I can find out and post it.

Mark it solved!

Joachim Müller

Watermarking burns huge amounts of CPU cycles - that's expected behaviour.