coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: BritneyFM on May 17, 2008, 07:49:51 PM

Title: Upload Error
Post by: BritneyFM on May 17, 2008, 07:49:51 PM
QuoteFatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2264 bytes) in /customers/britneyfm.com/britneyfm.com/httpd.www/gallery/include/picmgmt.inc.php on line 262

What does this mean?
Everytime i want to add High Quality pictures i get this, in my settings i putted the right information though, my max. upload size is 10MB and height and width 5000px +   :(
Title: Re: Upload Error
Post by: just_some_guy on May 17, 2008, 08:59:11 PM
It means that the memory allocation on your server is too low for the action you are trying to do. See here - http://forum.coppermine-gallery.net/index.php/topic,24088.msg110690.html#msg110690
Title: Re: Upload Error
Post by: Joachim Müller on May 18, 2008, 11:18:10 AM
...or just RTFM (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorAllowedMemorySize).
Title: Re: Upload Error
Post by: BritneyFM on May 18, 2008, 11:49:47 AM
I can only change this: register_globals and display_errors
Title: Re: Upload Error
Post by: just_some_guy on May 18, 2008, 12:02:43 PM
Then this means that you cannot change the value of the setting required for you to upload  that large an image, therefore you can either re-size your image to a smaller size and then upload the image. Or, if you still want the large image you can follow the instructions of "Alternative 3 (workaround)" from the link that Joachim posted; as this memory_limit is set in PHP you should still be able to upload the larger image (manually) to your server via FTP. See here for some recommended FTP clients if you dont have one - Tools recommended by the devs (http://forum.coppermine-gallery.net/index.php/topic,31423.0.html). 
Title: Re: Upload Error
Post by: BritneyFM on May 18, 2008, 12:24:07 PM
Quote from: just_some_guy on May 18, 2008, 12:02:43 PM
Then this means that you cannot change the value of the setting required for you to upload  that large an image, therefore you can either re-size your image to a smaller size and then upload the image. Or, if you still want the large image you can follow the instructions of "Alternative 3 (workaround)" from the link that Joachim posted; as this memory_limit is set in PHP you should still be able to upload the larger image (manually) to your server via FTP. See here for some recommended FTP clients if you dont have one - Tools recommended by the devs (http://forum.coppermine-gallery.net/index.php/topic,31423.0.html). 

I tryed to upload via ftp.
But i still get the same error.
Title: Re: Upload Error
Post by: BritneyFM on May 18, 2008, 12:24:36 PM
I have CuteFTP btw.