[SOLVED] Fatal error: Allowed memory size of 134217728

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
genestevo
Forum Members
Forum Members
Posts: 72
Joined: Thu Jan 26, 2012 11:50 am

[SOLVED] Fatal error: Allowed memory size of 134217728

Post by genestevo »

When I log in as administrator at http://www.historypoints.org I get the following message when I try to load Content>Pages
"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8417108 bytes) in /home/mochdren/public_html/subdom_hp/admin/listcontent.php on line 1208"
So Far I Have:-
* Checked System Information and found CMS Config Setting and notice that php_memory_limit shows nothing at all.
* Checked line 1208 and this is what I find:
return $headoflist . $thelist . $footer .'</form></div>';
the full content from line 1204 to 1213 is:
<?php
$footer = ob_get_contents();
ob_end_clean();

return $headoflist . $thelist . $footer .'</form></div>';
}

echo $themeObject->ShowMessage('', 'message');
echo $themeObject->ShowErrors('' ,'error');
?>
* In admin Log I found "Module is not properly cleaning input params" against Dewplayer and Twitter. Searched, found and implemented a fix for Twitter (but can't find similar for Dewplayer)
* Cleared Cache (several times)
* Cleared FF Browser cache as initially issue didn't appear with IE 10. Now though issue shows on: FF, IE, Chrome, Opera and Safari
* Via Search I found references to increasing memory via config.php but on opening this file there is no reference to memory settings in this file. There are also references to php.ini but I can't find this anywhere in my system.
* Reset my machine to a previous windows restore point which predates the issue.
* Curiously if I log-in using a colleagues details (Editor privileges) and "Collapse All Pages", the content loads without issue. Also I notice that in Site Admin>Cache and content, the Content Status dialogue shows 2,775 pages found. Could this be the problem as I typically work with current pages set to "Expand All Section".
As you can see I'm using 1.11.4 "Fernandina" so would you recommend a clean install of 1.11.9 or should I wait a bit for the finished version of CMSMS 2.0.
Thanks in advance for your patience.
Eugene.
Last edited by genestevo on Wed Oct 23, 2013 5:24 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Fatal error: Allowed memory size of 134217728 bytes exha

Post by calguy1000 »

add &collapse=1 to the listcontent URL.

This probably comes from having too many pages, and having all of them 'open'. which chews up alot of memory.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
genestevo
Forum Members
Forum Members
Posts: 72
Joined: Thu Jan 26, 2012 11:50 am

Re: Fatal error: Allowed memory size of 134217728 bytes exha

Post by genestevo »

Thank you so much CallGuy. I'd never have worked that out in a million years.
Suppose I need to show a bit more restraint regarding what I expect to see at any one time.
Your help is very much appreciated.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [SOLVED] Fatal error: Allowed memory size of 134217728

Post by calguy1000 »

Upgrading to CMSMS 1.11.9 will help with the issue. CMSMS 2.0 will be much better as it supports pagination in this area, so (at most) 500 pages can be visible in the content list at one time.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
genestevo
Forum Members
Forum Members
Posts: 72
Joined: Thu Jan 26, 2012 11:50 am

Re: [SOLVED] Fatal error: Allowed memory size of 134217728

Post by genestevo »

Thanks for that, better get my finger out then ;)
Post Reply

Return to “CMSMS Core”