PDA

View Full Version : Picture Troubles


DCCHam
01-26-2007, 05:29 AM
I keep getting this message whenever I try to post a picture in the galleies,
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8192 bytes) in /usr/local/www/global_inc/image_class.php on line 81

Is this because of the image size?....or an error?

Ruckus
01-26-2007, 05:56 AM
I thinks firecode's using default settings in his php.ini file.

He can try boosting php memory_limit to 16M and restarting Apache.

fire_code
01-26-2007, 06:36 AM
I thinks firecode's using default settings in his php.ini file.

He can try boosting php memory_limit to 16M and restarting Apache.Thanks for the tip, but it's not even close to default. The memory limit is already 16M and I'm not going to increase it any more (Allowed memory size of 16777216/1024/1024 = 16megs;)). That is one big picture, try reducing the size and you'll be fine. If it still doesn't work send me an email with the picture attatched.

DCCHam
01-26-2007, 08:19 AM
Thanks, I figured it out right after I posted that. I just down sized my pictures a bit and they seemed to upload just fine. :pcguru: