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!

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

eZ debug

Timing: Jan 20 2025 00:30:02
Script start
Timing: Jan 20 2025 00:30:02
Module start 'layout'
Timing: Jan 20 2025 00:30:02
Module start 'content'
Timing: Jan 20 2025 00:30:02
Module end 'content'
Timing: Jan 20 2025 00:30:02
Script end

Main resources:

Total runtime0.0232 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 589.1484152.6250
Module start 'layout' 0.00800.0052 741.773439.4453
Module start 'content' 0.01320.0075 781.218889.3203
Module end 'content' 0.02070.0024 870.539130.3047
Script end 0.0231  900.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003314.3335140.0002
Check MTime0.00177.3637140.0001
Mysql Total
Database connection0.003012.972610.0030
Mysqli_queries0.004419.051630.0015
Looping result0.00000.133710.0000
Template Total0.00208.510.0020
Template load0.00104.465110.0010
Template processing0.00093.990910.0009
Override
Cache load0.00073.111510.0007
General
dbfile0.00031.098580.0000
String conversion0.00000.044240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs