flatten.php and orphaned files

Author Message

Brendan Pike

Monday 23 October 2006 11:18:36 pm

Am I right suspecting that the flatten.php script will remove all non published version of classes containing binary files without removing the associated binary files? I have a client site here with 158 pdf's in var/storage but only 111 entries in the ezbinaryfile table. Is this how they got orphaned or is there other ways this can happen?

Also does anyone have a script or know of an easy way to identify orphan files?

Thanks

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

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 18:31:58
Script start
Timing: Jan 18 2025 18:31:58
Module start 'layout'
Timing: Jan 18 2025 18:31:58
Module start 'content'
Timing: Jan 18 2025 18:31:59
Module end 'content'
Timing: Jan 18 2025 18:31:59
Script end

Main resources:

Total runtime1.2756 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.0065 587.9141152.6250
Module start 'layout' 0.00650.0024 740.539139.4453
Module start 'content' 0.00891.2652 779.9844426.5313
Module end 'content' 1.27410.0015 1,206.51568.1641
Script end 1.2756  1,214.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2428160.0002
Check MTime0.00130.1022160.0001
Mysql Total
Database connection0.00090.073810.0009
Mysqli_queries1.239697.1765460.0269
Looping result0.00040.0284440.0000
Template Total1.244897.620.6224
Template load0.00220.175720.0011
Template processing1.242597.405820.6212
Template load and register function0.00050.038010.0005
states
state_id_array0.00090.071410.0009
state_identifier_array0.00130.099720.0006
Override
Cache load0.00180.141660.0003
Sytem overhead
Fetch class attribute can translate value0.00070.057810.0007
Fetch class attribute name0.00080.059610.0008
XML
Image XML parsing0.00010.009510.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00060.0506100.0001
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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs