PDF problem

This thread was about PhocaPDF.
So what is your configuration (exact Joomla/Fabrik versions, extensions), which error, what are you trying to do?
 
Fabrik version 3.0.9 - J! 2.5.14

When I pressed the PDF button in a listview I got this error:


Fatal error: Call to undefined method JDocumentpdf::setPaper() in /home/holmenss/public_html/components/com_fabrik/views/list/view.pdf.php on line 48

Then I added: if (method_exists($document, 'setPaper')) {
$document->setPaper($size, $orientation);
}

Instead of: $document->setPaper($size, $orientation);

Now the error is gone, but I cannot change the paper layout.
 
Did you update from GitHub?
Download (core) Fabrik versions don't contain the dompdf lib.
 
Hi rbuelund,
I've counter this error before..Thanks to the moderator and members support, the problem is solve..Ok, what I did is:

1.I downloaded the update from GitHub. The update is in zip file (if not mistaken).
2. I copied it to my root (public_html) using FTP or Cpanel.
3.MUST Extract the file at root (public_html).

It will replace actual files from the root with the updated file (fabrik_master). Hope this guide will help you to solve the problem..
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top