Including PHP Code in Template Files

Author Message

Justin Luciani

Tuesday 23 November 2004 9:05:18 pm

Hello. I have followed the instructions to create a site and am very impressed with potential of the software. However I have recently come across a major problem that has really given me a headache--including php files in templates.

I have followed the instructions in: http://www.ez.no/ez_publish/documentation/customization/tips_tricks/including_php_files_in_templates

I am using version 3.3 (I can't run anything later on my shared server). I include the function given in the previous link, but when I attempt to alter the kernal/common/eztemplateAutoLoad.php file, I get error messages saying: "Fatal error: Allowed memory size of 25165824 bytes exhausted"

I know I've seen similar questions but have yet to see this issue adequately resolved. Please help me. I really would like to use this program. Thanks in advance.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.