This topic is locked
[SOLVED]

 PDF Build

1/11/2015 5:44:46 PM
PHPRunner General questions
lefty author

PHPrunner 8.0 .

When testing on localhost pdf view/print page generates pdf file.

On server host ininsprunner . Nothing happens when you hit the button ( no error ) . It just says building and no generation of pdf file . Windows IE. amd firefox.

Only thing custom I have on print page is JavaScript to open print dialog . but this still works on localhost.

I have installed html2ps and unzipped to the correct folder
Any Ideas?

HJB 1/12/2015

install latest IE browser version

lefty author 1/12/2015



install latest IE browser version



IE 11 so it should be fine. I stmmped on this one as tried chrome,mozilla and IE 11, Which also runs on localhost . I will have to try from another desktop to see if there are any permissions problems . Thanks anyway for the feedback.

C
cristi 1/12/2015



PHPrunner 8.0 .

When testing on localhost pdf view/print page generates pdf file.

On server host ininsprunner . Nothing happens when you hit the button ( no error ) . It just says building and no generation of pdf file . Windows IE. amd firefox.

Only thing custom I have on print page is Javascript to open print dialog . but this still works on localhost.

I have installed html2ps and unzipped to the correct folder


HTML2ps??? In phprunner 8 the pdf pluginn was changed to dompdf...("To enable PDF view option download PDF View plugin at http://www.asprunner.com/files/plugins/dompdf.zip. Unzip it to C:\Program files\PHPRunner8.0\source\plugins directory." - from the manual)
Also: what I noticed is that you need to have dompdf/lib/fonts directory writable and on my server (ubuntu linux) this is not made writable when phprunner upload the output.
You can see this requirement on the dompdf demo also (http://pxd.me/dompdf/www/setup.php):


Even with templates_c directory writable if dompdf/lib/fonts is not made writable then I have the same behavior like you described.

 

HJB 1/12/2015

It is difficult to reproduce where the problem really is. All I can say here is that I'm under LINUX remote server as well, using PHP v8.0 - Build 23238 - 64 bit version - under IE browser seen within Windows 10 Technical Preview 64 bit - Build 9879 - under latest DOMPDF version without ANY problem at all since months now. Or say, I use built-in FTP feature of PHPRunner for uploads and do NOT need to make any changes to whatsoever webserver directory at all, even not template_c one as advised by the developers. Seems as if a fresh OS along with a fresh PHPRUNNER latest build and latest DOMPDF installation would be that very time-saver here in regard to time- and nerves-consuming trouble-shooting missions at various levels.

lefty author 1/12/2015



It is difficult to reproduce where the problem really is. All I can say here is that I'm under LINUX remote server as well, using PHP v8.0 - Build 23238 - 64 bit version - under IE browser seen within Windows 10 Technical Preview 64 bit - Build 9879 - under latest DOMPDF version without ANY problem at all since months now. Or say, I use built-in FTP feature of PHPRunner for uploads and do NOT need to make any changes to whatsoever webserver directory at all, even not template_c one as advised by the developers. Seems as if a fresh OS along with a fresh PHPRUNNER latest build and latest DOMPDF installation would be that very time-saver here in regard to time- and nerves-consuming trouble-shooting missions at various levels.



Thanks for your help . Had the wrong plugin installed . Works fine .