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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

ImageGallery problem with uploading files


Reply


5 Posts   1090 Views

Avatar
Slimo

Community Member, 8 Posts

29 March 2011 at 1:14am

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

Avatar
wmk

Community Member, 46 Posts

29 March 2011 at 2:16am

Hi Slimo,

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,

Wmk

Avatar
Slimo

Community Member, 8 Posts

29 March 2011 at 2:31am

the images have 240kb and resolution 2592x1465
is it big?
please how i can set more memory for php? thanks

Avatar
wmk

Community Member, 46 Posts

29 March 2011 at 3:45am

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".

[url]http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/[/url]

hth wmk

Avatar
Slimo

Community Member, 8 Posts

29 March 2011 at 4:23am

thanks :)