spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 749 forks source link

not able install library #759

Open DisasterFlavio opened 1 year ago

DisasterFlavio commented 1 year ago

hi. i'm trin install eand test html2pdf...

require("include/html2pdf4/html2pdf.class.php"); use Spipu\Html2Pdf\Html2Pdf; require_once 'vendor/autoload.php';

but i receive this error

Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in /home/www/www/test.php on line 17

Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /home/www/www/test.php on line 17

if i try delete the follow rows use Spipu\Html2Pdf\Html2Pdf; require_once 'vendor/autoload.php';

i receive this error TCPDF ERROR: Some data has already been output, can't send PDF file

help