Closed yankotinuj closed 3 years ago
me too i have the same problem This is very frustrating
me too i have the same problem This is very frustrating
The documentation said that wkhtmltopdf support javascript but why it isn't work on me. I create new project and follow the step from this tutorial on section header with javascript, but still not work. I've been scan the filesystem of Windows 10 too because the error code -1073741819 only happen in Windows operating system as far as i know. CMIIW
Hello again my friend. Yeah I still don't know why this is only happen in Windows. So, are you use html2pdf.js with laravel snappy/wkhtmltopdf? Thanks.
My english isn't good too, my friend :D Have a great day!
I'm having the same issue. Any luck finding a solution?
Do you use artisan serve
to run laravel project?
Do you use
artisan serve
to run laravel project?
Yes i do. Is the problem on artisan serve
which caused error code '-1073741819'?
Same issue here
@yankotinuj , I have chaged artisan serve on apache webserver and this error doesn't bother me anymore
The issue is related to the way you started the application.
With php artisan serve
you get this type of error, but in case of using webserver javascript code will be executed without errors.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/KnpLabs/snappy instead. When having doubts, please try to reproduce the issue with just snappy. If you believe this is an actual issue with the latest version of laravel-snappy, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.
Hello, I have a problem with laravel/snappy package when use javascript in header view file. It gives an error with status code '-107374819' which the code of header file copying from WKHTMLTOPDF Manual.
This is my setup :
Windows 10 64 bit
"barryvdh/laravel-snappy": "^0.4.8"
"laravel/framework": "^8.0"
wkhtmltopdf 0.12.6 (with patched qt)
-> installed in Windows 10This is my configuration in
snappy.php
This is the options in function to create the PDF
And this is
nota_pembayaran_pajakHeader
fileThe error doesn't happen in header file only. Wherever there are
<script>
element andonload
event in footer or view file, it will given message Exit status code '-1073741819'. Does anyway know about this problem? I've been looking for this issue for a week but haven't found any results and solve my problem. Your help will be appreciated. Thanks!