The SimpleInvoices forum has moved to Google Plus - this forum is now read-only
Another "Allowed memory size" fatal error: /include/init.php
  • eiledoneiledon April 2011

    When trying to update an invoice I get this error:

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 77824 bytes) in /usr/......../include/init.php on line 163

    Lines 158 - 166:

    include_once("./include/sql_queries.php");
    ini_set('max_file_uploads','20');
    ini_set('memory_limit','128M');
    ini_set('post_max_size','40M');

    $smarty->register_modifier("siLocal_number", array("siLocal", "number")); // line 168
    $smarty->register_modifier("siLocal_number_clean", array("siLocal", "number_clean"));
    $smarty->register_modifier("siLocal_number_trim", array("siLocal", "number_trim"));
    $smarty->register_modifier("siLocal_number_formatted", array("siLocal", "number_formatted"));

    The error occurs at the $smarty functions.
    How do I fix this??

  • eiledoneiledon April 2011

    Can someone please please please help me out here?

  • eiledoneiledon July 2011

    Anybody???

  • Hi @eiledon

    A number of people have had a similar issue to this. There are a number of possible solutions in the forum. Have you tried any of these?

    Matt

Categories

Tagged