Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Memory Error


Reply

934 Views

Avatar
gladdeng

11 January 2008 at 4:35pm (Last edited: 11 January 2008 4:48pm), Community Member, 1 Post

After having my site up for about a week and a half, I got this following message.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 87 bytes) in /sapphire/forms/LabelledLiteralField.php on line 5

I reset the memory limit in the php.ini file to 96m, and added the following line to sapphire/main.php

ini_set('memory_limit', '32M');

Anything I am missing here? I flushed, but got the same error back time after time.

Any help would simply be awesome.