Page 1 of 1

[Solved] Allowed memory size of 8388608 bytes exhausted

Posted: Mon Sep 15, 2008 8:08 am
by roadrunner
Hello,

I've questionned the french forum but haven't had any answer so far (but it's only 20 minutes ago...) but since i've found the english version, and crawled for new answers, i'm asking here also...

On a server with php 5, mysql 5.2.1, and cmsms 1.4.1, i'm ok for the 6 first steps of the install (ie going through the Web page for the short web configuration). I'm asked for the language (choosing fr_FR or en_ doesn't change anything). and when i click on "submit" i have the very exciting error message :

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 122880 bytes) in /home/sovrugby/www/lib/smarty/Smarty_Compiler.class.php on line 1808

I tried to put a line such as ini_set("memory_limit", "256M"); in the config.php, but as there is nothing yet in the config.php, i get nothing more than the error message above...

Does anybody have clues to go on with cmsms ?  ;)

Regards
R

Re: Allowed memory size of 8388608 bytes exhausted

Posted: Mon Sep 15, 2008 8:12 am
by alby
roadrunner wrote: I tried to put a line such as ini_set("memory_limit", "256M"); in the config.php, but as there is nothing yet in the config.php, i get nothing more than the error message above...
config.php must be empty in installation ....
Add in install/index.php:
ini_set("memory_limit", "32M");


Alby

[solved] Allowed memory size of 8388608 bytes exhausted

Posted: Mon Sep 15, 2008 8:33 am
by roadrunner
Very well :) it's ok, i'm about to go on..

Big thanks to you...

Re: [Solved] Allowed memory size of 8388608 bytes exhausted

Posted: Mon Sep 15, 2008 8:43 am
by roadrunner
After the config.php is filled, i had to set another memory limit in it for the cms to run ok... but it's ok, cmsms is running, i'm playing with the admin part now ;)