"Data error" on Sub-elements

Author Message

Pascal France

Friday 26 November 2010 7:22:53 am

Hi,

I don't know why, but on a remote hosting I get a «Data error» instead of the list of the sub-elements. I don't get this error on my own server.
In order to fix this problem, we have to edit the file:

lib/ezutils/classes/ezsys.php

and replace the line 923:

$isCGI = ( substr( php_sapi_name(), 0, 3 ) == 'cgi' );

by this one

$isCGI = false;

Clear all the caches.

If someone could explain exactly what is the problem, it would be perfect;-)

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Gaetano Giunta

Friday 26 November 2010 8:12:51 am

The problem comes from

- your lamp setup

- the ajax-loading of children

Your fix is ok. That part of the code has already been replaced in ezp 4.5

Principal Consultant International Business
Member of the Community Project Board

fale ta

Friday 17 December 2010 4:35:00 am

"

The problem comes from

- your lamp setup

- the ajax-loading of children

Your fix is ok. That part of the code has already been replaced in ezp 4.5

"

Could you be a bit more specific please? What causes the problem in the lamp setup and what with ajax?

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 29 2025 14:40:46
Script start
Timing: Jan 29 2025 14:40:46
Module start 'layout'
Timing: Jan 29 2025 14:40:46
Module start 'content'
Timing: Jan 29 2025 14:40:46
Module end 'content'
Timing: Jan 29 2025 14:40:46
Script end

Main resources:

Total runtime0.0152 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.0050 588.1328151.2109
Module start 'layout' 0.00510.0023 739.343836.6563
Module start 'content' 0.00740.0063 776.000090.3906
Module end 'content' 0.01360.0015 866.390633.9766
Script end 0.0151  900.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.9059140.0002
Check MTime0.00138.2315140.0001
Mysql Total
Database connection0.00095.630010.0009
Mysqli_queries0.001711.490930.0006
Looping result0.00000.072210.0000
Template Total0.00127.610.0012
Template load0.00096.019410.0009
Template processing0.00021.560610.0002
Override
Cache load0.00074.312810.0007
General
dbfile0.001912.399980.0002
String conversion0.00000.053440.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