Zend Debugger makes ezpublish work!!??

Author Message

Willie Seabrook

Thursday 20 November 2003 2:01:57 am

Hi,

I am experiencing a bizarre error.

I have a custom workflow event. Whenever I create a new event in a workflow straight up - its template doesn't display properly - it doesn't fetch content objects. But whenever I do the exact same thing with the Zend debugger running and step through the program it comes out just fine. Is this bizarre or what?!!

Paul Forsyth

Thursday 20 November 2003 2:08:55 am

Sounds like you need to make a cup of tea, then try it again :)

paul

Willie Seabrook

Thursday 20 November 2003 2:17:22 am

No I'm dead serious. I just checked another 2 times. Added logging code also.

With Zend debugger running the code executes and works fine. All debug calls are made and I can watch the log fill with tail. However, without Zend running, nothing gets logged therefore nothing gets executed. Somehow its 'picking' to execute most of ezpublish, except my file, but only when Zend debugger is not running. How weird is that? This is the weirest problem I have ever come across I swear.

Claus Jensen

Thursday 20 November 2003 2:25:53 am

Sounds like ez needs to wrap Zend in their distributions... cos' then it works! ;)

Willie Seabrook

Thursday 20 November 2003 3:53:57 am

Its started working again. I have no idea why. Weird is all I can say.

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 19 2025 08:53:56
Script start
Timing: Jan 19 2025 08:53:56
Module start 'layout'
Timing: Jan 19 2025 08:53:56
Module start 'content'
Timing: Jan 19 2025 08:53:57
Module end 'content'
Timing: Jan 19 2025 08:53:57
Script end

Main resources:

Total runtime1.2442 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 590.2969152.6250
Module start 'layout' 0.00640.0033 742.921939.4453
Module start 'content' 0.00971.2331 782.3672516.7422
Module end 'content' 1.24280.0013 1,299.109412.1563
Script end 1.2441  1,311.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2597160.0002
Check MTime0.00130.1057160.0001
Mysql Total
Database connection0.00130.108410.0013
Mysqli_queries1.196396.1532650.0184
Looping result0.00060.0514630.0000
Template Total1.209797.220.6048
Template load0.00200.162320.0010
Template processing1.207697.064820.6038
Template load and register function0.00030.020310.0003
states
state_id_array0.00160.132510.0016
state_identifier_array0.00160.127120.0008
Override
Cache load0.00170.1355160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.051430.0002
Fetch class attribute name0.00120.099450.0002
XML
Image XML parsing0.00030.028130.0001
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00170.1373100.0002
String conversion0.00000.000840.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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: 12
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs