Exporting to PDF on Hosted server...

Hi,
I’m having problems with PDF-Export of forms and grids on my Production environment. It works during development but not when I deploy it (on a Hosted server). I’ve tried to re deploy with no luck. I get the error:
The requested URL /kurser/_lib/tmp/sc_pdf_20141026225138_348_test.pdf was not found on this server.

Any ideas!? What is the “PDF Server IP” under “Configure production environment” for?

Exporting grids to word,RTF etc. works!

Thank you!

try this http://pilascalle.blogspot.com/2014/05/error-al-exportar-pdf-additionally-404.html
I have the same problem , but this served to me :frowning:

Thank you dexterghost
, it was in Spanish I believe? Used Google translate to make it (a little bit) more understandable to me…
I did this and it is working now:
1 . Changed “PDF Server IP” to the base URL of the site (www.mysitname.se). (The SC app is in a subdir of that site but I didn’t specify that).
2. Changed permissions of:
SC Appdir / _ lib / prod / third / wkhtmltopdf / linux-i386 / wkhtmltopdf-i386
AND
SC Appdir / _ lib / prod / third / wkhtmltopdf / linux-amd64 / wkhtmltopdf-amd64
to 777
3. Changed permissions on SC Appdir /_lib / tmp to 777

Don’t know if all or just parts of it did the trick, but now it is working!
One problem though Global variables are not passed from the application to detail forms in the pdf :frowning:

1 Like