I'm having the great privelege of looking at someone else's poorly commented code and trying to figure out why it doesn't work. He's written a script that generates a PDF file from some database info. I'm getting the following error:
Fatal error: PDFlib error: [2106] PDF_close: Generated document doesn't contain any pages in c:\wwwroot\taxsale\pdf.inc on line 33
I don't even have any idea what this error means. This error only occurs in certain instances - with certain database info, it works fine. I'm not too familiar with writing PDF files with PHP, though, so I don't know what to try. Any ideas?
Thanks,
Jason