Artists unable to upload images

xmla
@xmla
11 years ago
34 posts
An artist reported today that they were unable to upload an image. I was able to verify.

I'm seeing an out of memory error on the php logs but I have 8 GB on an 8 Core Dedicated (not vps) server and in Whm it shows low usage ( only 30% used )

--[02-Dec-2013 18:09:18 America/Vancouver] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 23624 bytes) in /home/xsite/public_html/modules/jrImage/include.php on line 718 [x 1]--

Please Advise.

M
XMLA / XSR
updated by @xmla: 01/03/14 06:37:48AM
brian
@brian
11 years ago
10,148 posts
xmla:
An artist reported today that they were unable to upload an image. I was able to verify.

I'm seeing an out of memory error on the php logs but I have 8 GB on an 8 Core Dedicated (not vps) server and in Whm it shows low usage ( only 30% used )

--[02-Dec-2013 18:09:18 America/Vancouver] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 23624 bytes) in /home/xsite/public_html/modules/jrImage/include.php on line 718 [x 1] --

Please Advise.

M
XMLA / XSR

This indicates the script is trying to use more than 128M, which it should never do when just uploading an image - how large is the image you are trying to upload, and which module are you doing the image upload in?

You can prevent this error by modifying your php.ini file and setting the "memory_limit" to something higher - i.e.:

; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 256M

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
11 years ago
34 posts
I bumped my memory limit and it solved the issue.. the image I was uploading was under 100k.

M
XMLA / XSR

Tags