I have installed the snappygrav plugin to export to pdf but when I click on the pdf button I get a Forbidden 403 page. Have followed the readme instructions - any tips why I’m getting this error?
I’m on localhost with xampp, composer and components installed as described in the readme.
Hello obeliksz,
thanks you but I do not need code…
There is a bug that I have not solved yet, and I think that’s the case …
Then, try moving to any page other than the default, that is, the first page displayed …
Then, if in the selected page there is not a link to the full pdf, in the address bar, to existing content, add :completepdf
Well I found the problem, in the vendor has no knplabs and h4cc and then it means that you must install with composer, as follows (in the command line must be placed in the base folder where there is index.php):
composer require knplabs/KNP-snappy
composer require h4cc/wkhtmltopdf-i386
after having done it all works (except the bug for the default page of which I am already aware and I hope to resolve as soon as possible: first page is still printed with completepdf)
Thanks, now I have installed with composer as you suggested, having the knplabs and h4cc folders under the vendors but still I just get the same 403 Forbidden page, now not only for /root:completepdf but also for /root/page:completepdf (previously it gave a firefox generated error page saying page not found).