Download ZIP archive corrupt, PHP Warning added to download file by your Plugin
-
I have a ZIP archive for download (archive.zip).
Problem– Your plugin adds PHP errors on top of a ZIP download file like so, which makes the ZIP archive corrupt:
<br /> <b>Warning</b>: fseek() [<a href='function.fseek'>function.fseek</a>]: stream does not support seeking in <b>/home/flag/public_html/cmswp/wp-content/plugins/email-before-download/download.php</b> on line <b>225</b><br />
– If I manually removed the lines in a text/hex/binary editor, the ZIP archive worked just find.
So your plugin seems to redirect any error “stderr” to the download stream.
Please help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Download ZIP archive corrupt, PHP Warning added to download file by your Plugin’ is closed to new replies.