Hi all,
thanks for the contrib...works almost great ;-)
i just tried to install the email add on : Email PDF as Attachment - ADD-ON v1.2 but im facing a small problem... when user have to finalize the oder (the last last step) i got an error message :
faultCode1faultStringFatal error:Call to a member function Output() on a non-object in /home/eq74179/html/catalog/pdfinvoice.php on line 100
the line 100 refers to :
// are we streaming for email attachment or outputting to browser?
if($stream){
$pdf_data = $pdf->Output('' , 'S');
} else {
$mode = (FORCE_PDF_INVOICE_DOWNLOAD == 'true') ? 'D' : 'I';
// what do we do? display inline or force download
$pdf->Output($file_name , $mode);
}
i tried to look over the forum but couldn't find the problem...and by the way, if i disable the "attach pedf invoice to email.." then it works fine...
if anyone could help that would be great...
thanks