We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Hm. I never have liked smarty. Nor am I particularly fond of OOP for web apps intended to be run on the limited resources of shared web servers.

    http://www.smarty.net/forums/viewtopic.php?p=62381
    http://www.smarty.net/forums/viewtopic.php?p=71839
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 22303 MODX Staff
      • 10,725 Posts
      MODX requires at least 16Mb of RAM to operate. The request is failing because you only have 12Mb allocated for that request. I think your environment must require a php.ini in each directory where a request is going to be made to increase the memory_limit for that request.
        • 38232
        • 18 Posts
        No there is no need for php.ini in each directory according to the server tech... the script memory limit is 512mb and testing versions are reporting different memory amounts as problems.

        Modx 2.0.5-pl test:
        [10-Jan-2012 02:34:52] PHP Fatal error: Out of memory (allocated 10485760) (tried to allocate 7680 bytes) in /home/mysite/public_html/2.0.5-pl/core/model/smarty/sysplugins/smarty_internal_templatelexer.php on line 532

        Modx 2.2.0-pl2 test:
        [10-Jan-2012 17:11:06] PHP Fatal error: Out of memory (allocated 12845056) (tried to allocate 30720 bytes) in /home/mysite/public_html/2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_templatelexer.php on line 910

        I've emailed him these details to see if he can track down anything related.
          -Jeremy