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 15 2025 09:41:45
Script start
Timing: Jan 15 2025 09:41:45
Module start 'layout'
Timing: Jan 15 2025 09:41:45
Module start 'content'
Timing: Jan 15 2025 09:41:47
Module end 'content'
Timing: Jan 15 2025 09:41:47
Script end

Main resources:

Total runtime1.4741 sec
Peak memory usage6,144.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 685.4141183.6719
Module start 'layout' 0.00470.0027 869.085952.5313
Module start 'content' 0.00731.4652 921.61721,721.6875
Module end 'content' 1.47250.0015 2,643.304764.5703
Script end 1.4740  2,707.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00530.3609160.0003
Check MTime0.00130.0876160.0001
Mysql Total
Database connection0.00060.039910.0006
Mysqli_queries1.431397.0969460.0311
Looping result0.00040.0258440.0000
Template Total1.440997.820.7205
Template load0.00400.268920.0020
Template processing1.437097.481320.7185
Template load and register function0.00130.087510.0013
states
state_id_array0.00150.099510.0015
state_identifier_array0.00070.045420.0003
Override
Cache load0.00350.238090.0004
Sytem overhead
Fetch class attribute can translate value0.00040.028310.0004
Fetch class attribute name0.00150.099920.0007
XML
Image XML parsing0.00060.043310.0006
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00070.0473160.0000
String conversion0.00000.000540.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.0001 secs