Forums / Setup & design / Including PHP Code in Template Files

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.