When I want to access listcontent.php CMSMadesimple generates the following message:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 305915 bytes) in /sites/kuuke.nl/www/kuuke/admin/listcontent.php on line 1038
The line number can vary after I try to access my pages again.
I'm running CMSMadesimple v.1.3.1
My website is running on PHP 5.2.5 and MySQL 4.1.22 (for full details http://www.vsml.nl/blaat.php, it's not the address of the cmsmadesimple-site (that's http://www.kuuke.nl but it's on de same server), PHP memory size is set to 24M.
My website has about 120 pages. Already a long time. I didn't install extra modules or something for quite some time. I saw the problem for the first time when I upgraded to v1.3 but I'm not sure it's related to the upgrade. All other menu's in the admin area work well.
I searched on this forum for some help but I couldn't find a solution for this problem. Someone suggested to create a new admin account with the same rights as the old. So I did and now it's working fine. If I log in with the original acccount I get the above error. Emptying cache files didn't work.
Because a new admin-user works just fine I don't think it's a problem with the configuration of my host (which always worked fine). I'm thinking of a kind of buffer in cmsmadesimple?
Anyone who can help me with this?
[solved] listcontent.php doesn't show pages and gives memory error
[solved] listcontent.php doesn't show pages and gives memory error
Last edited by Kuuke on Sat Jul 19, 2008 11:02 am, edited 1 time in total.
Re: listcontent.php doesn't show pages and gives memory error
Hello,Kuuke wrote: Fatal error: Allowed memory size (...) exhausted (...) PHP memory size is set to 24M.
have you seen this warning during install :
"You may not have enough memory to run CMSMS correctly, or with all of your desired addons. If possible, you should try to get your system admin to raise this value".
24M may not be enough. Ask your PHP hosting provider.
Pierre M.
Re: listcontent.php doesn't show pages and gives memory error
You can try to deinstall unused modules too ...
Re: listcontent.php doesn't show pages and gives memory error
I expressed some troubles I had with my hosting provider and they increased the PHP memory limit from 24 for 50 and it solved the memory issues I was having. You might try giving that a shot.
Re: listcontent.php doesn't show pages and gives memory error
Thanks all for your advice 
I uninstalled some modules which I don't use frequently (the filebackup and database backupmodules).
I don't know if this is related to the php memory problem but I discovered that the hitcounter module was storing a lot of information in de database. I uninstalled the hitcounter module also and removed all related lines (about 100K) from the database.
So far so good, it seems working now. Didn't see errors the last days.
I will contact my hosting provider, maybe they are willing to upgrade my php memory limit.

I uninstalled some modules which I don't use frequently (the filebackup and database backupmodules).
I don't know if this is related to the php memory problem but I discovered that the hitcounter module was storing a lot of information in de database. I uninstalled the hitcounter module also and removed all related lines (about 100K) from the database.
So far so good, it seems working now. Didn't see errors the last days.
I will contact my hosting provider, maybe they are willing to upgrade my php memory limit.
Re: listcontent.php doesn't show pages and gives memory error
You can try to do it by yourselfKuuke wrote: I will contact my hosting provider, maybe they are willing to upgrade my php memory limit.
http://forum.cmsmadesimple.org/index.ph ... l#msg32720
Not sure if this option is available on your server ...
Re: listcontent.php doesn't show pages and gives memory error
Wow, cyberman !!
Thank you for this link. I missed it on the forum (too huge sometimes
).
Its working with my hosting provider. I reinstalled the modules I want to use. Didn't see any memory errors anymore.
Case closed
Thank you for this link. I missed it on the forum (too huge sometimes

Its working with my hosting provider. I reinstalled the modules I want to use. Didn't see any memory errors anymore.
Case closed
