coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Corrupted on July 04, 2008, 09:20:22 PM

Title: Getting an error
Post by: Corrupted on July 04, 2008, 09:20:22 PM
Ok hopefully this is the right spot to post this.

I just started gettin an error out of the blue not sure what is going on but this is the error


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4000 bytes) in /home/touring/public_html/gallery/include/picmgmt.inc.php on line 262


Any ideas?  Thx's
Title: Re: Getting an error
Post by: Nibbler on July 04, 2008, 09:24:45 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorAllowedMemorySize
Title: Re: Getting an error
Post by: diablo74 on August 06, 2008, 12:28:28 PM
I'm getting the same problem and it can be resolved by resizing photos before uploading but the files do have to be quite small to get them up. I've got the upload limit set at a width of 2000 pixles and a file size of 1.5MB but I tried uploading a photo with a width of 1500 pixles and a file size of 500kb and was still giving me the same error message.
I'm using GD 2.0.28 compatible, it it worth me installing imagemagick or won't that make any difference? Any other tips for uploading lager images (I can't access the php.ini file) or do I stick to resizing everything first?
Thanks
Title: Re: Getting an error
Post by: Joachim Müller on August 06, 2008, 01:29:41 PM
If you can't access php.ini then you won't be able to install ImageMagick neither. Those are server-sided restrictions, i.e. they have been imposed by your webhost. Talk to your webhost, not us.