1b.app
Link copied -

PDF files are not generated

Нужно иметь возможность работы с PDF-файлами?
Это доступно в последней версии системы! Установить последнюю версию OneBox
An error "Error
Failed to load PDF document."
You can get a file through the print button and when saving in PDF format, but files are not automatically generated and clients do not leave.
Original question is available on version: ru

Answers:

Hello, it is impossible to solve any of your problems without knowing:
1. Links to the box where the problem is
2. An example of how to see this problem yourself (a link to an action and an example of a process where it does not work that way, for example)
Write it right in the comments. Thank you.
01.09.2020, 10:07
Original comment available on version: ru


https://crm.infosaver.ru/admin/document/67836/control/ is a link to the generated documents, and by pressing the PDF button an error began to occur. Accordingly, in action, where to send an invoice to the client's email address - the file is not generated or sent.
01.09.2020, 11:47
Original comment available on version: ru

The error is due to the fact that we cannot generate a pdf file using wkhtmltopdf
when entering the command in the console:
wkhtmltopdf /var/WWW/crminfosaverpro/web1/web//media/tmp/67836.html /var/WWW/crminfosaverpro/web1/web//media/document/67836.pdf
we get an error
wkhtmltopdf: cannot connect to X server
to avoid errors, you need to update wkhtmltopdf on the server to a newer version. This can be done by your system administrator or by yourself having root access to the server. I don't have them unfortunately.
01.09.2020, 12:09
Original comment available on version: ru


Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment