Hi, All of a sudden one of my pages has suddenly stopped loading and started showing this error:
Fatal error: Out of memory (allocated 66060288) (tried to allocate 65484 bytes) in /homepages/10/d568633693/htdocs/core/cache/includes/elements/modsnippet/47.include.cache.php on line 70
Tried again and got this code:
Fatal error: Out of memory (allocated 66060288) (tried to allocate 114688 bytes) in /homepages/10/d568633693/htdocs/core/cache/includes/elements/modsnippet/47.include.cache.php on line 382
Not sure what the problem is?
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk
The only php.ini file I have is in my root and has a single line:
date.timezone = Europe/London
Is it just a simple case of adding
memory_limit = 128M
underneath it?
Thanks
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk
I guess you're on shared hosting. I don't know if it will work.
What is the current value in phpinfo()? (via Manage > Reports > System Info)
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk
Delete all files in the cache folder manually: /core/cache/
If it doesn't help I will advise to contact your hosting provider about the memory limit.
discuss.answer
The most common cause of that is a recursion somewhere. Most often, a page contains a tag for an aggregating snippet (e.g., getResources or pdoResources) that includes that page in it's collection (launching itself again and again).
BTW, do you have the ControlErrorLog extra installed? That once caused a recursion for me, though it only did it for a short period.
I dont think so BobRay. I had a called that chose parents as '[[*id]], I changed this to an ID number instead and it seemed to resolve the issue. Thank you all for the info
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk
That would do it.