Hi all, So I was following the FPDF article on the bakery (http:// bakery.cakephp.org/articles/view/pdf-helper-using-fpdf) and the hello world thing worked just fine (thanks Sam).
I then turned debug up to 2 and did some work on pulling data from the DB. Thereafter my PDFs all stopped working giving "this file is damaged and could not be repaired" messages. This is because (of course) debug at 2 logs sql to the browser which screws up the PDF data, setting debug to 0 dynamically doesnt work (see http://groups.google.com/group/cake-php/browse_thread/thread/fc37d44a4544e92d/ for why). Hope that helps someone somewhere, sometime. Ianh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---