Thank you for your hint. I tried your suggestion. Unfortunately there's no difference in the output i see. Anymore i see a really blank page. No error or any other response. The answer from the server is not even a html page.
So i comment the following line of the controller example, to see what went wrong: [code] Configure::write('debug',0); // Otherwise we cannot use this method while developing [/code] The error i see then is: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in /opt/lampp/htdocs/fegverwaltung/app/vendors/ tcpdf/tcpdf.php on line 6925 Any hints why that happens? draikin Marcelius wrote: > 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 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 -~----------~----~----~----~------~----~------~--~---