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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Fatal error: Allowed memory size


Go to End


2333 Views

Avatar
delcon

Community Member, 9 Posts

12 May 2010 at 10:29am

I am not sure if I am in the right section, but I didn't find anything better related.

I have a 2.4 working Site and I am getting:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in ...\sapphire\core\Object.php on line 860

this happended after I tried to add a second image field to a class.

The Site is working, but I get this error ONLY while logging in as admin. I can't get past login.

I have searched and tried the solutions mentioned in this forum. My phpinfo says that I have 128M memory_limit. The 134217728bytes confirm that.

I tried to set the memory_limit higher, but I guess there is a php limit, because nothing changes my phpinfo output.

128M seams to be very high, so there is maybe an other cause?

I tried to /dev/buil. Works with no error, but doesent help.
I also tried to deletet the the added image field at the database. No change.

I hope for some help...
Greetings

Leo