Fatal error: Allowed memory size
We have installed Photopost successfully and have had it working until members have starting uploading images.
Now error message when uploading images of any size:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9936 bytes) in /home/fhlinux203/r/rockpoolkayaks.com/user/htdocs/oriel/image-inc.php on line 84
Hosting company (Fasthosts) have blamed it on the script requiring too much memory.
I have tried adding code reccommended elsewhere in this forum:
pp-inc.php & adm-inc.php (not both at the same time)
Would appreciate any help re this.
Well the issue is specifically a server problem IE GD2 which steals all PHP memory trying to process an image so its not a problem with the script.
We tell people using GD2 to increase PHP memory because the issue is nowadays people are uploading larger and larger images and GD is bad with large images.
You can limit filesizes to say a smaller size. I would suggest cause quite possible your user uploads directories may be clogged with files is to clear all directories beneath uploads. Make sure to put a decent respectible filesize limit in usergroups settings never leave it wide open. Then try uploads again. If you give the program no limits it is going to default to PHP and PHP is notorious for being user unfriendly when it comes to errors usually just throwing white pages.
|All times are GMT -5. The time now is 07:18 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0