Sunday, July 29, 2012

Re: Cakephp + TCPDF

I'm not familiar with PDF generation, but surprising HTML headers are sometimes an "early output" problem.

So check for stray spaces and newlines in your php files.  Depending on config, if your app emits any output, even whitespace, PHP sends the headers as it knows them at the time -- if your whitespace appears early, that might be some default html headers.

d
--
Daniel Baird
I've tried going to the XHTML <bar /> a few times, but it's always closed.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: