Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.12
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2011 at 15:24 UTC
Updated:
10 Jul 2011 at 09:02 UTC
Using TCPDF results in an HTTP internal server error.
The Apache error log shows:
PHP Fatal error: Call to undefined method PrintTCPDF::AliasNbPages() in /mysite/sites/all/modules/print/print_pdf/print_pdf.pages.inc on line 289
TCPDF seems to be installed correctly. In the adminstration page the tcpdf.php is found in /mysite/sites/all/modules/print/lib
Drupal core version is 6.22
TCPDF version is 5.9.089 (2011-06-13)
Maybe recently changed? I did not use TCPDF previously.
Comments
Comment #1
cvw commentedProblem solved:
One hour ago in TCPDF version 5.9.090 method AliasNBPages was added back in again for backward compatibility. However, this method seems deprecated.
Comment #2
jcnventuraI also removed the call, as this is currently doing nothing. Thanks for reporting this.