Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Hi i need help with this problem.
when i uploading files in gallery write this error
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 10368 bytes) in /data/b/a/data/sub/agenturaivi/sapphire/filesystem/GD.php on line 32
seems like you want to uplaod a very big image. Image Gallery (or DOM) produces a thumbnail right after uploading. If you don't have enough memory for php, it produces this error.
Try to upload smaller images (e.g. the biggest resolution you want to display). If you need the images that big you need more memory.
Hope that helps,
the images have 240kb and resolution 2592x1465
is it big?
please how i can set more memory for php? thanks
Well, i don't have problems with images that are 1600px big. While resizing no the filesize but the image dimensions need the memory.
You can increase your memory limit via php.ini or via your .htaccess file, depending on your hosting or your server. This is what i found quickly using google search for "php increase memory".