Elogic - I'm having issues setting this up, can you post detailed instructions on setting CakePdf up?
On Thursday, August 23, 2012 6:11:09 PM UTC-4, elogic wrote: > > Thanks, I updated both issues and now I am getting pdfs with both Tcpdf > and Dompdf. I will look into the other one you mentioned. > > My next thing is the pages I am trying to generate as PDF's have google > charts on them but they don't load. Is this something that is possible? > > https://developers.google.com/chart/ - Mostly the table, line and pie > charts. > > Regards, > Adam Symonds > > Elogic Media > > > > > On Thu, Aug 23, 2012 at 11:36 PM, Ceeram <c33...@gmail.com > <javascript:>>wrote: > >> I fixed the notice: >> >> >> https://github.com/ceeram/CakePdf/commit/efb6f480d28676f95d1860dd95f71aa01da5a0a5 >> >> On Thursday, August 23, 2012 3:31:14 PM UTC+2, Ceeram wrote: >>> >>> The first error about missing method setExtensions() is because you are >>> not using latest cake version, if you would look up the line where the >>> error points to you would read this: >>> >>> https://github.com/ceeram/**CakePdf/blob/master/Config/**routes.php#L3<https://github.com/ceeram/CakePdf/blob/master/Config/routes.php#L3> >>> >>> The dompdf error, i can not help with really, that is not caused by the >>> CakePdf plugin code. >>> >>> Tcpdf also produces i bunch of notices, so added a line about that here: >>> >>> https://github.com/ceeram/**CakePdf/blob/master/Pdf/** >>> Engine/TcpdfEngine.php#L23<https://github.com/ceeram/CakePdf/blob/master/Pdf/Engine/TcpdfEngine.php#L23> >>> >>> You could try that with dompdf as well i guess. >>> >>> Wkhtmltopdf is the recommended engine, as it beats all other engines >>> together, in both performance and correct rendering html. >>> >>> On Thursday, August 23, 2012 5:25:59 AM UTC+2, elogic wrote: >>>> >>>> I since have setup the routes.php line of Router::parseExtensions( >>>> 'pdf'); >>>> >>>> The error I am getting now is: >>>> >>>> *Notice* (8): Undefined variable: res >>>> [*APP/Plugin/CakePdf/Vendor/dompdf/lib/class.pdf.php*, line *1413*] >>>> >>>> I assume this is a config setting? >>>> >>>> >>>> >>>> -- >> 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<javascript:> >> . >> To unsubscribe from this group, send email to >> cake-php+u...@googlegroups.com <javascript:>. >> Visit this group at http://groups.google.com/group/cake-php?hl=en-US. >> >> >> > > -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.