Forum


Replies: 7   Views: 6031
Fatal error: class 'xsltprocessor' not found
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by lamador  · 29-04-2014 - 13:24

I've follow the tutorial and I've installed openoffice and I've run it in headless mode with:



$ /opt/openoffice.org3/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard



The process is running:



$ ps -aux | grep soffice

lamador  12322  0.0  0.0   2236   560 pts/1    S+   12:56   0:00 /bin/sh /opt/openoffice.org3/program/soffice -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard

lamador  12331  1.4  0.8 117728 35720 pts/1    Sl+  12:56   0:00 /opt/openoffice.org3/program/soffice.bin -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard



If I run the OdfConverter 32-bit the output is:



$ lib/OdfConverter/32/OdfConverter /../Informe_2014-04-25-150654.docx 



[ERROR][/var/www/.../Informe_2014-04-25-150654.docx] Conversion failed - Error during conversion



I'm using the generatePDF function. I've also tried with the transformDocx function, but when I execute in a script with the browser (not in the command line) it doesn't genereate any pdf file and I don't get any error. 



Thank you so much.