Fatal error: Allowed memory size-fix doesn't work

I used a fix ini_set ("memory_limit", "20M"); on the forums which worked fine, but I get the same error on the groups forums, and this fix doesn't work no matter how high I set it.   Any ideas?  Thanks

Quote · 10 Feb 2010

Here is the exact error I get:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 77824 bytes) in /home/tomsgrap/public_html/dolphin/inc/classes/BxDolGroups.php on line 329

I get this for the forums under the groups section.  I got this same error with the main forums link on my site, but corrected it by increasing the file size.  I tried to do that here, all the way to 50M, but it still doesn't work.  I don't think it is good for the loading of the program to increase it so much?

Quote · 10 Feb 2010

The recommend size is 128M per the recommended settings here.

http://www.boonex.com/trac/dolphin/wiki/ThingsToKnow

https://www.deanbassett.com
Quote · 10 Feb 2010

thanks, I'll give it a go.  I also tried modifying the php.ini file to 164 (it was 64) but that didn't work.  I'll try changing that within the bxdolgroups file.

Quote · 10 Feb 2010

Thanks for that link, it was something I hadn't seen before.  It says to add some directions to the php.ini file:

register_globals=Off
magic_quotes_gpc=On
allow_url_include=Off
upload_max_filesize=300M
post_max_size=300M
max_input_time=3000
max_execution_time=3000
memory_limit=128M
short_open_tag=On
 

and after it says to copy this file to every folder.  There are like 100 or more folders, does it go in every folder, or just the top level folders?

Quote · 10 Feb 2010

I am not sure. The copying to all folders was a recent addition to the docs as they updated things for D7. Apparently boonex has discovered that on some servers it is needed.

There are two folders specified in this blog from boonex that cannot have a php.ini file.

http://www.boonex.com/unity/blog/entry/Making_Orca_php_ini_friendly


But i have never had to put a php.ini file anywhere but the root folder of my site. So i can not verify this.

The out of memory errors should not be occurring on the forums. Perhaps someone tried to post a huge message or photo or some kind of spam into the forums that is stuck there. Is this problem recent?


https://www.deanbassett.com
Quote · 10 Feb 2010

I think it is an original problem from when the web-site was installed. No one has used the forum yet as I'm just building it.  I had the same problem on the main folder link, but it was easily fixed by increasing the size allowed.

 I can't imagine going through and adding this to every folder and subfolder and sub sub folder.  I did add it to the bxdolgroups folder, but it doesn't work.

 

Quote · 10 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.