Zipped PDFs yields corrupt zip file |
[eluser]Unknown[/eluser]
Using: dompdf (http://codeigniter.com/wiki/PDF_generati...ng_dompdf/), zip encoding class Version: 1.7.2 The workflow goes as follows: After a message is created and the members that will be given the message selected, the application creates a pdf file of each message for each member, zip these pdf files and then stream to user. When the pdf files are just purely text + the [x] image put in by dompdf for images not found, the downloaded archive can be opened. When I got the images to render on the pdf files, the archiving started yielding corrupt zip files. I verified that the pdf files with images can be opened by opening it from the source folder. Could this be a bug in the Zip Encoding class or just in zip files in general? Trying to open it from Ubuntu using 7z and unzip, respectively: Code: rystraum@rystraum-desktop:/tmp$ 7z e apo_email_batch_00097d6e1fce8bcbb31cb60761dc431a.zip |
Welcome Guest, Not a member yet? Register Sign In |