How to debug Pear XML/fo2pdf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IanF
    New Member
    • Sep 2006
    • 1

    #1

    How to debug Pear XML/fo2pdf

    I am a php newbie. I am trying to use the Pear function XML/fo2pdf to convert xslfo to pdf. It has been installed on a public host for me so I don't have any way of verifying that everything is installed correctly.

    The code I am using is:

    1 <?php
    2 include_once ("XML/fo2pdf.php");
    3
    4 $pdf = new XML_fo2pdf( );
    5 $pdf->tmpdir = "_pdf";
    6 $pdf->run("_pdf/simple.fo", "_pdf/simple.pdf");
    7 $pdf->printPDF();
    8 $pdf->deletePDF();
    9
    10 ?>

    It gets to line 6 then stops without any errors or warning returned.

    I need advice on how I should go about debugging this further?

    Please help.

    Thanks

    Ian
Working...