1

Hello,

I have this error when i generate a pdf:
Notice: Undefined variable: kPathUrl in html2pdf_v4.03/_class/tcpdfConfig.php on line 80

How can i avoid this message ?

Thx

2

Try to put the absolute path instead of $kPathUrl in html2pdf_v4.03/_class/tcpdfConfig.php on line 80 like this example in my version:

define('K_PATH_URL', "C:\wamp\www\SCOTIB\SGMB\_tcpdf_5.0.002");

Also try to put the absolute path in $html2pdf->Output('C:\absolute\path\where\you\want\to\save\the_file.pdf','F');