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.

All other Modules /

Discuss all other Modules here.

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

Image Gallery Fatal Error: Allowed memory size


Go to End
Reply


11 Posts   5850 Views

Avatar
UncleCheese

Forum Moderator, 4096 Posts

27 February 2010 at 5:21am

Since PHP doesn't know the dimensions of the image until after it has been uploaded and stored in the filesystem, the only thing I can think of at this point is to throw a cleaner error after upload, saying the image could not be processed. It's better than a fatal error. It really comes down to controlling your user input. It's not unreasonable to say that a 6000 pixel image is not acceptable.

Avatar
stx333

Community Member, 14 Posts

6 March 2011 at 11:55am

Dear Uncle,

My hosting company tells me "sorry, the php allowed memory size parameter may not be changed"...

What can I do apart from switching to a different hosting service please?

Thanks in advance!
Stas

Avatar
stx333

Community Member, 14 Posts

10 April 2011 at 7:34am

Uncle Cheese - please answer this post - is there anything I can do besides finding a different hosting company (by the way - the major ones in my country tell me that the 64M limit is a standard, and it's not possible to change it.

Please help.

Thanks,
Stas

Go to Top