ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Safecracker not working - out of memory issue.

February 10, 2012 8:51pm

Subscribe [1]
  • #1 / Feb 10, 2012 8:51pm

    Tony Gurnick

    94 posts

    This question is 100% related to a resolved thread.


    as described in the related issue i am getting an out of memory error when i try to use safecracker.

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 84 bytes) in /development/fightego/web/content/system/expressionengine/modules/safecracker/libraries/Safecracker_lib.php on line 2393

    i have one form, its the only thing on the page.  code below.

    {exp:safecracker channel="people" return="people/index"
    datepicker="no"
    include_jquery="no" safecracker_head="no" preserve_checkboxes="yes"
    logged_out_member_id="1"
    site="site1" }


    <input type=“text” name=“title”>
    <input type=“text” name=“url_title”>


    .
    .
    .
    other fields

    <button type=“submit” name=“submit”>add</button>


    {/exp:safecracker}


    I have done some investigation.  When I removed all fields and all params the page gives me the standard channel required error - so working correctly.
    when i add the channel param back in i get the out of memory error.

    Now i am running this on my local overpowered over memory-ied mac and also on my mac book air.  the hardware is not the issue.

    this stopped working when i upgraded to ee 2.4.  I thought it might have something to do with the nsm htacess extension or a solspace ext but they are all up to date now.

    funny thing I have managed to fix it on my air but on the mac it is still broke.  funnier still the codebases are identical.

    everything else seems to work ok.  So while i said on my other post it is not a problem, it still is because i cannot seem to fix it on one computer.


    please help….????

     

  • #2 / Feb 12, 2012 8:38am

    Sean C. Smith

    3818 posts

    Hi Tony Gurnick,

    If you disable nsm and solspace do you continue to have this problem? Could you go to admin > system administration > output and debugging and turn on template debugging. After doing that please visit the page in question and tell me what the debugging says (will be at the bottom of your site)

    Thank you.

    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases