Hello,
I'm trying to generate a PDF from a docx file with the generatePDF function, but I get this error message:
$:/var/www/.../phpdocx/examples/intermediate$ php DocxAndPdf.php
PHP Fatal error: Class 'XSLTProcessor' not found in /var/www/6conecta/components/com_seysconecta/lib/phpdocx/classes/TransformDoc.inc on line 266
I've tried also with the transformDocx function. In this case it works fine executing the example transform.php from the command line but if I do it in a script with the browser the proccess doesn't create the pdf file. I've cheked that the oppenoffcie is running.
$:/var/www/6conecta$ ps aux | grep openoffice
lamador 4139 0.0 0.0 2236 564 pts/3 S+ 17:28 0:00 /bin/sh /opt/openoffice.org3/program/soffice -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard
lamador 4148 11.3 0.8 117728 35732 pts/3 Sl+ 17:28 0:00 /opt/openoffice.org3/program/soffice.bin -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard
Can you help me?