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: Unable to upload simple files & batch add.  (Read 9321 times)

0 Members and 1 Guest are viewing this topic.

flissj

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Unable to upload simple files & batch add.
« on: June 08, 2010, 01:07:44 am »

Hello, I am having some issues with the new version of coppermine which I have installed at http://felicity-jones.org/gallery and wondered if anyone can help me?

I always upload my files via ftp as I tend to upload lots each time, as you can see when visiting, the smaller sized files have batch-uploaded fine. I have been trying to place some much larger ones and keep running into errors.

They are happily there in my ftp (using this file as an example: http://felicity-jones.org/gallery/albums/uploads/photoshoots/006/l001.jpg), but when trying to batch add I am told that the "album is empty" and the image previews are shown as padlocks only.

I therefore hunted the forums and tried the debug mode/simple upload/single file option, to which I got this error:

Quote
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13312 bytes) in /home/fjorg/public_html/gallery/include/picmgmt.inc.php  on line 428

I have already increased the allowed file size in the gallery's config section, and am I wrong in believing that the allowed memory size shown in that error is actually larger than the size it is trying to allocate?
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4822
    • Windsurf.me
Re: Unable to upload simple files & batch add.
« Reply #1 on: June 08, 2010, 05:28:39 am »

It just shows that you server is running out of memory trying to create the thumbs/intermediate files etc. You may have to speak to your hosting company to increase the limits set on your server (though I doubt they will say yes). A large image takes a lot more memory than the size of the image to process so another option would be to reduce the size/quality of the image in question before you upload it. Having a very high quality image online makes little sense anyway as it just uses up a lot of valuable bandwidth and in some cases means people will be more likely to nick your image.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.