(Solved) Export grid to PDF error

Moved to a Almalinux box and and now have to resolve the export to pdf creation error.
Maybe I am missing something. Set to 777 privileges the necessary folders and files on linux.

If I retrieve the command from the log file in the tmp directory and add --enable-local-file-access to the wkhtmltopdf -amd64 on the terminal , the pdf does get created. I get a ‘Blocked access to file’ without it.

Appreciate any help from the linux and scriptcase gurus here. Scriptcase team…if you have a solution, please let me know.

image
image

1 Like

Figured this out…
Removed the exec() and shell_exec() functions from disable_functions in php.ini to allow binary execution of wkhtmltopdf and now all is fine with generating the pdf.

1 Like