Advanced search  

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]

Pages: [1]   Go Down

Author Topic: http upload issues with multiple files  (Read 4221 times)

0 Members and 1 Guest are viewing this topic.

Jexx

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
http upload issues with multiple files
« 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.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Jexx

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: http upload issues with multiple files
« Reply #2 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
Logged

Jexx

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: http upload issues with multiple files
« Reply #3 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: http upload issues with multiple files
« Reply #4 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.
Logged

Jexx

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: http upload issues with multiple files
« Reply #5 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.