Archive
SilverStripe Forums » Archive » Fatal error: Allowed memory size - After the site running fine for 2 weeks
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: Fatal error: Allowed memory size - After the site running fine for 2 weeks | 2024 Views |
-
Fatal error: Allowed memory size - After the site running fine for 2 weeks

28 October 2007 at 5:08am Last edited: 28 October 2007 5:09am
Hi,
I got the following error after the site functioning fine for two weeks. As we were adding more and more content into the site (while I set the home page to a 'holding page' so the public got a site maintenance notice - i.e. no major traffic...)
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 140 bytes) in .../public_html/stonmii/forum/code/CheckableOption.php on line 3
Now I have been searching the forums like crazy to try and find a solution and since I've not come across anything that helps - could someone please help me?
The irony is - it's a site for my Mum - I'm putting together a consumer advocacy site. She's been inputting most of the data as it's her site; while I've been doing the page designs. She texted me this morning saying she can't login and there is some error (above)...
Although I must say that she did find it very easy to use - when it was working...
The site needs to launch Sunday night (tomorrow night) and there is tons of work still needed to be done.
Any ideas welcome thanks.
-
Re: Fatal error: Allowed memory size - After the site running fine for 2 weeks

28 October 2007 at 10:04am
Try adding this to sapphire/main.php:
ini_set('memory_limit', '32M');
Cheers,
Sean -
Re: Fatal error: Allowed memory size - After the site running fine for 2 weeks

28 October 2007 at 2:50pm
You beauty...!
It worked - thanks dude.
All the best.
-
Re: Fatal error: Allowed memory size - After the site running fine for 2 weeks

28 October 2007 at 5:50pm
It's possible the host changed the PHP memory limit during the course of you have the site running.
I'm glad it worked.
Cheers,
Sean
| 2024 Views | ||
|
Page:
1
|
Go to Top |


