[solved] listcontent.php doesn't show pages and gives memory error

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
Kuuke
Forum Members
Forum Members
Posts: 10
Joined: Sun Oct 29, 2006 10:56 am

[solved] listcontent.php doesn't show pages and gives memory error

Post by Kuuke »

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?
Last edited by Kuuke on Sat Jul 19, 2008 11:02 am, edited 1 time in total.
Pierre M.

Re: listcontent.php doesn't show pages and gives memory error

Post by Pierre M. »

Kuuke wrote: Fatal error: Allowed memory size (...) exhausted (...) PHP memory size is set to 24M.
Hello,

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.
cyberman

Re: listcontent.php doesn't show pages and gives memory error

Post by cyberman »

You can try to deinstall unused modules too ...
milehigh

Re: listcontent.php doesn't show pages and gives memory error

Post by milehigh »

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.
Kuuke
Forum Members
Forum Members
Posts: 10
Joined: Sun Oct 29, 2006 10:56 am

Re: listcontent.php doesn't show pages and gives memory error

Post by Kuuke »

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.
cyberman

Re: listcontent.php doesn't show pages and gives memory error

Post by cyberman »

Kuuke wrote: I will contact my hosting provider, maybe they are willing to upgrade my php memory limit.
You can try to do it by yourself

http://forum.cmsmadesimple.org/index.ph ... l#msg32720

Not sure if this option is available on your server ...
Kuuke
Forum Members
Forum Members
Posts: 10
Joined: Sun Oct 29, 2006 10:56 am

Re: listcontent.php doesn't show pages and gives memory error

Post by Kuuke »

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  :D
Post Reply

Return to “CMSMS Core”