Closed (won't fix)
Project:
Printer, email and PDF versions
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2009 at 18:16 UTC
Updated:
27 Jan 2009 at 20:19 UTC
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
Comment #1
fuquam commentedI'm running PHP 5.2.8 so its not an issue with running 4.
Comment #2
fuquam commentedComment #3
jcnventuraNo, 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
Comment #4
fuquam commentedWill 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