Page 1 of 1

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

Posted: Sun Mar 01, 2009 9:32 am
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?

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

Posted: Sun Mar 01, 2009 10:49 am
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

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

Posted: Sun Mar 01, 2009 11:14 am
by zeroality
I am using CMS v1.1 and there is no memory_limit in my config.php file :(

Am I screwed?

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

Posted: Sun Mar 01, 2009 11:41 am
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

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

Posted: Sun Mar 01, 2009 11:51 am
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!