Centos8 is and of life.
Use centOS7 and of life is 2024
Centos8 is and of life.
Use centOS7 and of life is 2024
Hi, Ken, i am getting this message error when I export a report to PDF:
Error creating PDF file, Contact technical support
The requested URL was not found on this server.
Hi alvagar,
PDF giving those errors would become a issue for my clients. I currently use CloudLinux and it works fine there…was thinking of moving to CentOS, but might not be a good idea.
I need to Know if SC Team can help us for know How Can Solve it issue.
Hi marcosc,
Yes…I saw that. Thanks for the link.
Do you use CPanel on Ubuntu?
Also do you get the pdf errors on Ubuntu?
Thanks,
Ken
Hi alvagar,
Looks like 1 user has already posted about this and according to him, this pdf issue on CentOS is going on for years and scriptcase has never resolved it. See the link below.
This is message when my users export to PDF:
Error creating PDF file, Contact technical support
the issue I had with PDF in linux was related to http\https access to the php library.
So in the production environment (_lib/prod/lib/php/nm_ini_manager2.php) I changed the “PDF Server IP” setting to the path on the server (in my case “/var/www/html”) and PDF can now be generated.
No idea if this is the issue you are having.
I Changed the path of “PDF Server IP” to /var/www/html
But i am getting same error.
did you check the permissions on the tmp directory?
can your users export in other formats (eg. excel or words)?
Hi, Robybado.
Yes, my SC export to all formats except to PDF.
/var/www/HTML is your site folder?
i have 3 server with CentOS and after intsall wkhtmltopdf and set permisson on folder i don’t have problem.
Hi, thanks for your tips and advice. I tried the way you told me. and, in the end it didn’t work. these are some screenshots of what I did.
i do not if i have that Install wkhtmltopdf like say @marcosc ?
I have only a hosting that is not working because they disabled the use of wkhtmltopdf.exe.
In other hosting I ask to enable and then works fine. In some works without asking like Hostgator or Hostinger
In pdf server ip, I configure the www.site.com and works.
i have /var/www/XXXXX in PDF Server IP only when use HTTPS if i use HTTP set IP 192.168.XX.XX of server.
do a pdf print from your site then try to see under this folder /var/www/YOURSITE/_lib/tmp
there is a log file what does it say?
I have my hosting vps with Hostgator. I have to check with the hosting service provider.
May be this can help
But send a ticket to help you to configure your vps. I have one client on Hostgator hosting site and it’s working perfect.
hi,
do a pdf print from your site then try to see under this folder /var/www/YOURSITE/_lib/tmp
there is a log file what does it say?
Hi, this is the file .log when i try to generate the pdf file:
./wkhtmltopdf-amd64 --page-size Letter --orientation Portrait --header-right “[page]” /home/msoft/public_html/_lib/tmp/sc_rpt_grid_pro_listagral_html_50042aa84a2a41ef9542f65bbe45fbb4.html /home/msoft/public_html/prgs/macroshop/_lib/tmp/sc_pdf_2fdf16635b6ff715a208c3381e27c525_rpt_grid_pro_listagral.pdf
I can see the directory /home/msoft/public_html/_lib/tmp/ (does not exist) my working directory is /home/msoft/public_html/prgs/macroshop/
The file sc_rpt_grid_pro_listagral_html_50042aa84a2a41ef9542f65bbe45fbb4.html YES Exists in directory, BUT the file sc_pdf_2fdf16635b6ff715a208c3381e27c525_rpt_grid_pro_listagral.pdf NOT Exists.