forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Jexx on July 13, 2009, 11:01:58 pm

Title: http upload issues with multiple files
Post by: Jexx on July 13, 2009, 11:01:58 pm
I seem to have an issue when uploading more than 5 images, with each files being more than 1MB is size, the upload starts and then after a while the screen refreshes and you see the normal upload screen with no error message as if you had done nothing, is this a time out of some sort that is not caught by error traps?

Coppermine Photo Gallery 1.4.25 (stable)
Same issue before I upgraded.
Title: Re: http upload issues with multiple files
Post by: phill104 on July 13, 2009, 11:07:23 pm
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: http upload issues with multiple files
Post by: Jexx on July 14, 2009, 12:39:15 am
Cool, sometimes the hardest part is knowing where to start or look  :D

I can now upload larger files (had to add a php.ini file) althought the image does not show when you select the album and I then get the error of :

The previous file could not be placed.

Will keep working through the info I can find now I have a starting point  ;)

Thanks
Title: Re: http upload issues with multiple files
Post by: Jexx on July 14, 2009, 02:11:26 am
Doh partly sorted  :-[

Quote
The GD library doesn't support BMP files. It only supports jpeg/jpg, png and gif.
Joachim Müller

I tried assigning 72MB of memory and that wasn't enough, I have now assigned 90MB memory for Coppermine using php.ini which resolves the memory issues.

5040 x 3150 = 15876000* 4 = 63504000  / 1048576 = 60.5621337890625 (61MB)

Any idea approximatly how much memory coppermine uses?

I'm guessing around 25MB?
Title: Re: http upload issues with multiple files
Post by: Joachim Müller on July 14, 2009, 09:56:59 am
Much less. But coppermine is not the only process on your webserver that consumes memory. You can't subtract the memory usage of the script from the total RAM on your server - that's not how a webserver works. Resize your pics on your client instead of consuming so much of your precious server-sided resources.
Title: Re: http upload issues with multiple files
Post by: Jexx on July 14, 2009, 01:52:29 pm
Ah I see, there isn't much else running on the site but I appreciate there are things like email and other services running all the time. I don't really want the images resized as the images being uploaded need to maintain the quality for printing reasons so the images are not being resized it's just the thumbnail and intermediate image creation that is the issue.

Thanks for the support on this.