coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: allvip on June 24, 2012, 06:40:10 PM

Title: upload erorr when I upload big images
Post by: allvip on June 24, 2012, 06:40:10 PM
upload erorr:

fatal erorr:Allowed memory size of 20971520 bytes exhausted (try to allocate 9344 bytes) in /gallery/include/picmgmt.inc.php on line 437.

What can I do?I try to edit   picmgmt.inc.php on line 437,but I don't know how.
I can not edit php.ini because my host won't allow that.I have no php.ini in the host root and I can't installl it.The host won't aloow that.I can upload large images on my host with file manager or with filezilla(ftp) but not in my coppermine gallery 1.5.Why?I try batch upload,but when I wanted to move the images in albums it give me the same error.

I really want to have large images on my gallery.Please help.
Thanks.
Title: Re: upload erorr when I upload big images
Post by: allvip on June 24, 2012, 06:41:53 PM
my gallery:
http://allvip.us/gallery/index.php
Title: Re: upload erorr when I upload big images
Post by: ΑndrĂ© on June 25, 2012, 09:28:00 AM
http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_error_messages_allowed_memory_size
Title: Re: upload erorr when I upload big images
Post by: allvip on June 25, 2012, 12:55:01 PM
thanks,but I want my users to be able to upload large images too.
Title: Re: upload erorr when I upload big images
Post by: ΑndrĂ© on June 25, 2012, 01:17:44 PM
You could try to use ImageMagick instead of GD2, if your host provides it. http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumb_advanced_resize_method

If ImageMagick is not available and you cannot increase the PHP memory limit, you'll have to move your gallery to a hosts that fits your needs.
Title: Re: upload erorr when I upload big images
Post by: allvip on December 07, 2014, 09:08:32 AM
Solution here:

1)No further photos can be added to an album - batch add and http upload fails:  http://forum.coppermine-gallery.net/index.php/topic,77929.0.html (http://forum.coppermine-gallery.net/index.php/topic,77929.0.html) 

2) Fatal error: Allowed memory size of X bytes exhausted:  http://forum.coppermine-gallery.net/index.php/topic,76445.0.html (http://forum.coppermine-gallery.net/index.php/topic,76445.0.html)