Forums / Developer / flatten.php and orphaned files

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.