Forum


Replies: 2   Views: 3945
Issue for enable headless mode
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 bbaillon  · 03-12-2013 - 18:46

Hello



When i check.php i have get a warning : "Warning you're not running OpenOffice in headless mode on port 8100"



So i think my problem for convert docx to pdf is here.



I try run this command : lib/openoffice/openoffice.org3/program/soffice -headless -accept=”socket,host=127.0.0.1,port=8100;urp;” -nofirststartwizard



But i have this error : http://hpics.li/87575ed



I have a distrib CentOS 64 bit with PHP 5.3.3



I have the version corporate and i use OpenOffice in phpdocx



 


Posted by jorgelj  · 03-12-2013 - 19:34

Hello,



Please contact us: http://www.phpdocx.com/contact 



And we'll reply you by email with the recommended steps.



Regards.


Posted by jdespatis  · 13-10-2014 - 10:51

I've had the same problem as you My problem came from the fact that 2 files in phpDocx install were common files, instead of being symbolic links: ./lib/openoffice/openoffice.org/basis3.4/ure-link => ./lib/openoffice/openoffice.org/ure/ ./lib/openoffice/openoffice.org3/basis-link => ./lib/openoffice/openoffice.org/basis3.4/ => It would be a nice improvement to add some checks of those files (to be really symlinks), in the script check.php provided by phpDocx It would save some search time I would say...