Document Contains No Data

Author Message

Deane Barker

Thursday 06 October 2005 12:10:20 pm

Is anyone else having problems with "Document contains no data" errors on Windows installations?

We can no longer get eZ to run on Windows (with Xampp: Apache2, MySQL 4.1). This just happened with the most recent releases (I just tried it with 3.7RC1 on PHP4.4 today).

You simply cannot access either the public or the admin sides -- the server just hangs up and Firefox spits back "Document contains no data."

I did some reduimentary debugging and determined that it's coming out of the module result. It was trying to take the "login" action on the "user" module when it throws the error.

We've noted this behavior on multiple systems now.

Łukasz Serwatka

Thursday 06 October 2005 12:36:17 pm

Xampp uses Zend Optimizer, try to disable it in php.ini, then try one again.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Deane Barker

Thursday 06 October 2005 12:48:47 pm

Yes, that was it exactly. Thank you.

This just happened with the latest versions.

Łukasz Serwatka

Thursday 06 October 2005 12:55:40 pm

With installed Zend Optimizer, compiling eZ publish templates takes a lot of memory and CPU resources on Windows platform. So PHP parser "die" before send data to web broswer. I suggest keep disabled Zend Optimizer and use eAccelerator for example.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 18 2025 23:10:36
Script start
Timing: Jan 18 2025 23:10:36
Module start 'layout'
Timing: Jan 18 2025 23:10:36
Module start 'content'
Timing: Jan 18 2025 23:10:38
Module end 'content'
Timing: Jan 18 2025 23:10:38
Script end

Main resources:

Total runtime1.3303 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9063152.6250
Module start 'layout' 0.00610.0037 740.531339.4453
Module start 'content' 0.00981.3189 779.9766553.6641
Module end 'content' 1.32870.0015 1,333.640612.1641
Script end 1.3302  1,345.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2337160.0002
Check MTime0.00130.0998160.0001
Mysql Total
Database connection0.00080.061310.0008
Mysqli_queries1.275395.8676600.0213
Looping result0.00060.0460580.0000
Template Total1.287396.820.6437
Template load0.00190.144820.0010
Template processing1.285496.628220.6427
Template load and register function0.00010.010810.0001
states
state_id_array0.00220.168710.0022
state_identifier_array0.00320.240920.0016
Override
Cache load0.00160.1198190.0001
Sytem overhead
Fetch class attribute can translate value0.00050.039220.0003
Fetch class attribute name0.00120.090560.0002
XML
Image XML parsing0.00260.193120.0013
class_abstraction
Instantiating content class attribute0.00000.001480.0000
General
dbfile0.00490.3710240.0002
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs