Error

Permalink
Hey I get this error when start my website for the very first time..

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 77824 bytes) in /Applications/MAMP/htdocs/leppalintu/concrete/libraries/3rdparty/htmLawed.php on line 470

Any advices?

 
kino replied on at Permalink Reply
kino
You need to change the memory_limit value.

/Applications/MAMP/conf/php5/php.ini
memory_limit=8M ;

to

memory_limit=64M ;
mrksr replied on at Permalink Reply
Ok. I did it but it isn't working.
Error is different now:


Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /Applications/MAMP/htdocs/leppalintu/concrete/models/attribute/types/boolean/controller.php on line 112
Mnkras replied on at Permalink Reply
Mnkras
its a problem with your server, its running out of memory, you didn't raise the memory limit like kino said
mrksr replied on at Permalink Reply
Yes I did:


;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)


Do I have to reinstall comcrete5 after it?
Mnkras replied on at Permalink Reply
Mnkras
well its being overrided somewhere, .htaccess file possibly, did you restart apache?
kino replied on at Permalink Reply
kino
http://blog-en.mamp.info/2009/09/increase-php-memory-limit-with-mamp-pro.html