Em terça-feira, 16 de outubro de 2012 11h50min46s UTC-3, MaJerle.Eu escreveu:
your file is .class ??..and tell us which cake u use--
--Lep pozdrav, Tilen Majerle
2012/10/16 Lucas Simon Rodrigues Magalhaes <luca...@gmail.com>Hiii, good morning!I have a erro when I try load a third Lib in my controller.The code:App::uses('html2pdf/html2pdf.class', 'Lib'); App::import('Lib', 'html2pdf/html2pdf.class');pr(App::paths());try{$pdf = new HTML2PDF('P','A4','fr');$pdf->pdf->SetDisplayMode('fullpage'); $pdf->writeHTML($content);$pdf->Output('test.pdf');}catch(HTML2PDF_exception $e){die($e);}The error:Fatal Error
Error: Class 'HTML2PDF' not foundLine: 196Notice: If you want to customize this error message, create app\View\Errors\fatal_error.ctp My folder:--Lucas Simon@LUCAS-PC app/Lib/html2pdf (master)$ ls_LGPL.txt _lisez_moi.txt examples locale_changelog.txt _read_me.txt html2pdf.class.php_class _tcpdf_5.0.002 html2pdf_v4.03
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com .
Visit this group at http://groups.google.com/group/cake-php?hl=en .
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment