PDF Export Problem

[QUOTE=mikew;14795]Hi Guys,

I’ve just started playing with Scriptcase version 7 and can’t seem to get the new pdf export option to work when I upload to my hosting server. It works fine locally in my development environment.

Here’s what happens…

If I click to view the pdf I get a 404 error.

If I click to download the pdf I do get a pdf file which is non zero in length (787 bytes). However, when I try to open this file in Adobe Reader it tells me that the file is not valid.

Here’s what gets output in the log file which lives in my tmp folder…

./wkhtmltopdf-i386 --page-size Letter --orientation Portrait --outline-depth 0 --header-right “[page]” http://drive-designers.tsm-eriks.co.uk/_lib/tmp/sc_syn_grid_results_html_va7tem77ohp1u1evv4armq0mv7.html /var/www/vhosts/tsm-eriks.co.uk/subdomains/drive-designers/httpdocs/_lib/tmp/sc_pdf_20130608192937_998_syn_grid_results.pdf

I’m stumped because all of the paths in the log file appear valid. Does anyone have any suggestions as to what the problem may be?

Regards,

Mike[/QUOTE]

  1. download : https://code.google.com/p/wkhtmltopd…-amd64.tar.bz2

2 ) unzip

  1. upload to “hostname”/_lib/prod/third/wkhtmltopdf/linux-amd64

  2. Apply Permision 755
    “hostname”/_lib/prod/third/wkhtmltopdf/linux-amd64 /wkhtmltopdf-amd64

dram

Hi,
I have the same problem. But the suggestion to load the latest wkhtmltopdf does not help. Same bevahiour as before.
The files are being genereated, the log-file states everything ok.
I uploaded a pdf by ftp to the /tmp-dir and was able to download by sc-pdf-dialog.
The /tmp-dir has 755 oder 777 rights, both fail.

I run a Linux-Ubuntu-Server at Strato with 32-Bit on Intel-CPU.

Any help very welcome, because I can not get pdfs on prod-server, but well on devel-server (macos). But I NEED the pds…

Set 755 to …/_lib/prod/third/wkhtmltopdf/linux-i386/wkhtmltopdf-i386

did that, but with no difference.

now I started putty, went to the wkhtmltopdf…-dir and started the command by hand, adding more and more of the original parameters, but shorter filenames, all went fine.
Finally I run the full command from the log-file (in cmd-window putty, logged in as root) all went fine.

seems to be a problem with rights, but even if I set _lib and all subfolders to 777, it does not make a difference.