[solved] how do i fix this fatal error? (memory related?)

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
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

[solved] how do i fix this fatal error? (memory related?)

Post by zeroality »

When I try to access Pages, I get this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 263707 bytes) in /home2/pokemont/public_html/tempcms/admin/listcontent.php on line 894

How do I fix this?
Last edited by zeroality on Sun Mar 01, 2009 11:56 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: how do i fix this fatal error? (memory related?)

Post by RonnyK »

In the config.php is a variable to set the memory_limit.... You might want to set a value there to see if it is taken.

Ronny
User avatar
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

Re: how do i fix this fatal error? (memory related?)

Post by zeroality »

I am using CMS v1.1 and there is no memory_limit in my config.php file :(

Am I screwed?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: how do i fix this fatal error? (memory related?)

Post by RonnyK »

No.... You're not....

You could try to make the memory a little bigger, by setting it in the top of the config.php, just inside de <?php.....
ini_set('memory_limit','32M');
and see if it takes the local memory-increase. If not, you could try uninstalling some unneeded modules.

Ronny
User avatar
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

Re: how do i fix this fatal error? (memory related?)

Post by zeroality »

I went ahead and upgraded to 1.5.1 (before I read your reply).

I see the memory_limit variable, what should I put? I tried 32M and in bytes and it still gives the same error.

I uninstalled every module I had and it still gives me the error. :(

Nevermind, I put in 64M and it worked. Thanks for your help!
Last edited by zeroality on Sun Mar 01, 2009 11:56 am, edited 1 time in total.
Post Reply

Return to “CMSMS Core”