Forums / General / Error when including php file

"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".

Error when including php file

Author Message

Philip K.

Wednesday 07 December 2005 1:55:43 am

Hi.

I want to use a php-script in my website. the scrips works fine, but sometimes I get an error message when someone visits the site.

I included the file into the <ezdir>/index.php

include($DOCUMENT_ROOT. "/myfile.php");

Could there be some problems when I edit the index.php file??

Thanks for your help...

Linux is like a wigwam; no windows, now gates, and apache inside!

Philip K.

Wednesday 07 December 2005 1:58:07 am

I forgot to point out, that the error isn't displayed by every visit of the site. it is shown only sometimes.

Linux is like a wigwam; no windows, now gates, and apache inside!