Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able install library #759

Open
DisasterFlavio opened this issue Mar 11, 2023 · 0 comments
Open

not able install library #759

DisasterFlavio opened this issue Mar 11, 2023 · 0 comments

Comments

@DisasterFlavio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant