I get a parse error when tyring to use the PDF version link.
----------------------
Parse error: syntax error, unexpected T_NEW in /home/[site]/public_html/modules/print/include/functions.inc.php on line 240
-----------------------

Line 240 throw new DOMPDF_Exception("dec2roman() requires a numeric argument.");

Comments

fuquam’s picture

Status: Active » Closed (fixed)

I'm running PHP 5.2.8 so its not an issue with running 4.

fuquam’s picture

Status: Closed (fixed) » Active
jcnventura’s picture

Status: Active » Closed (won't fix)

No, the problem is in using a buggy, never-finished piece of code: dompdf.

Please report this bug to dompdf's maintainer, and until this is solved just use TCPDF, that at least seems to be maintained.

João

fuquam’s picture

Will do. I get an error with TCPDF as well.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/site/public_html/modules/print/print_pdf/tcpdf/tcpdf.php on line 169