Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Memory Limit Issue

Status Resolved
Add-on / Version Custom System Messages
Severity Critical
EE Version

Jon Wright Design

Jun 06, 2012

I’m using CSM on MSM, latest version of everything.

The extension is working fine on one of my sites, but not the second. I get a memory limit error instead of the CSM Error page on submission.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85840 bytes) in .../expressionengine/modules/channel/mod.channel.php on line 275

The form error works fine when I disable CSM and use the native EE error page.

#1

BoldMinded (Brian)

Thats a new one to me, but most likely not a CSM issue. Line 275 of that file is $this->build_sql_query();, so its the channel module that is having the issue. Since you’re using CSM y ou’re undoubtably using a custom/normal template as the error page, correct? When you disable CSM it uses the native error pages, which don’t process other tags, e.g. the channel:entries tag. Try removing any channel:entries tags you have in your error template and see what happens.

#2

Jon Wright Design

That did the trick, thanks very much!

#3

BoldMinded (Brian)

No problem. I guess your next step is to figure out what is wrong with that entries tag. Make sure your profiler is on so you can see the queries being executed.

Login to reply