Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2009 at 10:40 UTC
Updated:
9 May 2009 at 18:43 UTC
My environment: MAMP, php 5.2.6, TCPDF 4.5.017.
No problem when using the printer-friendly version.
When I try to download the pdf version, I get this error: Cannot re-assign $this in /Applications/MAMP/htdocs/mysite/sites/all/modules/print/print_pdf/print_pdf.class_php4.inc on line 22. Commenting this line the problem is solved.
What I can't understand it's: should it take a php4 class even if I'm running a php5 version?
Thanks a lot, your module is great!
Comments
Comment #1
jcnventuraTry to install the PHP5 version of TCPDF next time, and you won't get that problem, the class inclusion depends on the installed version of TCPDF.
As to the reason for the error, it's weird, and I am assigning it to a problem in the PHP implementation for the Mac, until proven otherwise.
João
Comment #2
upupax commentedohps.... my distraction... sorry..
Comment #4
dugh commentedI see the same error