Have you tried to check if tcpdf generated errors? Sometimes if you
send headers, and (php)errors occure, you might not always see some
output. So echo something in your controller and then php should at
leas tell you 'headers allready sent' error. Before that, (php)errors
will show

Also, in the view:
[code]
echo $tcpdf->Output('filename.pdf', 'D');
[/code]

Should be:
[code]
$tcpdf->Output('filename.pdf', 'D');
[/code]

On 13 nov, 12:54, draikin <[EMAIL PROTECTED]> wrote:
> After 2 week of unsuccessful testing i hope to get some help here by
> the community. I tried the tutorial  (http://bakery.cakephp.org/
> articles/view/creating-pdf-files-with-cakephp-and-tcpdf) from the
> bakery to create PDF files from my cakePHP application.
> At the first try i took the example code from the tutorial to generate
> a first PDF. But in the view i got only a blank page. No download
> started and i don't get any error message.
> I tried to customize the tutorialcode to simplify it. But the only
> output i get was an empty white page. I searched this group but found
> no discussion about this topic that give any hint. Has anyone already
> tested this tutorial and has successfully created an simple PDF?
>
> I also had the problem that no comment can be take on the bakery for
> that article, as already reported in the group.
>
> I appreciate any little hint to get the solution for this.
>
> draikin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to