
 Richard Munroe - 2011-02-19 23:06:16
The following on our production server:
            if (ob_get_contents() === false or die("\n<p><strong>Error:</strong> Unable to send file <strong>$archiveName.epub</strong>. Output buffer contains the following text (typically warnings or errors):<br>" . ob_get_contents() . "</p>")) {
fails when the output buffer contains a null string but will successfully write a zip file under these circumstances.  I tweaked the class to check for the null string as well as === false and things work just fine.
Best,
Dick Munroe