0

wkhtmltopdf (PHP ラッパー経由) を使用して、いくつかの html ファイルを pdf に変換しています。全体としてはうまく機能していますが、20% では、何の情報もなくクラッシュするだけです。そのため、入力ファイルを変更しなくても、正常に動作する場合とそうでない場合があります。

これは、失敗して得られる出力です。

Could not create PDF:
Could not run command '/www/htdocs/example/projekte/example/test/wkhtmltopdf-amd64' --ignore-load-errors "http://www.example.de/projekte/example/test/ebene/example/lieferschein-geschirr-material/lieferschein-geschirr-material.php?PHPSESSID=250cd07e432cd69eba2aa51054577d63&testmodus=1" /tmp/tmp_WkHtmlToPdf_CkYxRt:
Loading pages (1/5) [> ] 0% [======> ] 10% [============> ] 21% [===============> ] 25% [============================================================] 100% Resolving links (2/5) [============================================================] Page 1 of 1 Counting pages (3/5) [============================================================] Page 1 of 1 Printing pages (5/5) [> ] Preparing [=======> ] Page 1 of 8 [===============> ] Page 2 of 8 [======================> ] Page 3 of 8 [==============================> ] Page 4 of 8 [=====================================> ] Page 5 of 8 [=============================================> ] Page 6 of 8 [====================================================> ] Page 7 of 8 [============================================================] Page 8 of 8 Done

それについての説明はありません。誰かがこの問題を知っていて、助けることができますか?

4

1 に答える 1

0

ご覧のとおり、間違った o/p ファイルを入れています。つまり、クラス関数の呼び出しに問題があるので/tmp/tmp_WkHtmlToPdf_CkYxRt.pdfはなく、 それを使用して ください。/tmp/tmp_WkHtmlToPdf_CkYxRt

于 2013-06-05T13:58:49.277 に答える