Welcome Guest, Not a member yet? Register   Sign In
Error message in image upload

Hello all.

I have a image uploader in my web site, but when I try to upload big images, size and kbytes, it returns me an error message, like this:

Allowed memory size of 25165824 bytes exhausted (tried to allocate 10304 bytes) in /hsphere/local/home/sergiopo/sergioporto.com.br/admin/system/libraries/Image_lib.php on line 1157

Anyone could tell me what does it means?

Try this at the top of your page:


or change "12M" to a higher number if it isn't high enough..

try this out

NateL, it didn't work...

I have written your init config in the top of the function that uploads the image; the image to upload has 807kb, and I get thids error:

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 2576 bytes) in /hsphere/local/home/sergiopo/sergioporto.com.br/admin/system/libraries/Image_lib.php on line 1157

D'you know how I could solv this problem?

Theme © iAndrew 2016 - Forum software by © MyBB