Forums / Setup & design / "Data error" on Sub-elements

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