Zombie check script

Author Message

Georg Franz

Wednesday 20 January 2010 3:03:53 pm

Hi,
at several ez installations which are running over the years we found zombie entries. So I've written a script to delete them.
Please use at your own risk and make a backup before!

You can download it here:

http://issues.ez.no/IssueView.php?Id=16052&activeItem=1

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

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 02:10:43
Script start
Timing: Jan 18 2025 02:10:43
Module start 'layout'
Timing: Jan 18 2025 02:10:43
Module start 'content'
Timing: Jan 18 2025 02:10:44
Module end 'content'
Timing: Jan 18 2025 02:10:44
Script end

Main resources:

Total runtime0.6856 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.9453152.6094
Module start 'layout' 0.00500.0028 741.554739.4141
Module start 'content' 0.00780.6764 780.9688461.4141
Module end 'content' 0.68420.0013 1,242.38288.1875
Script end 0.6855  1,250.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4668160.0002
Check MTime0.00140.2036160.0001
Mysql Total
Database connection0.00060.090310.0006
Mysqli_queries0.645894.1971460.0140
Looping result0.00040.0614440.0000
Template Total0.658296.020.3291
Template load0.00240.352220.0012
Template processing0.655895.648320.3279
Template load and register function0.00010.014610.0001
states
state_id_array0.00100.147310.0010
state_identifier_array0.00070.105620.0004
Override
Cache load0.00180.266090.0002
Sytem overhead
Fetch class attribute can translate value0.00050.074510.0005
Fetch class attribute name0.00080.113520.0004
XML
Image XML parsing0.00040.059110.0004
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00080.1157160.0000
String conversion0.00000.001140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs