Forum


Replies: 5   Views: 5612
The system cannot find the file specified. (code: 2) in [path]\classes\transformdocadvlibreoffice.in
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 uma_work  · 18-04-2018 - 17:18

Hello:

I had the same error message on Wnindows7 with Libreoffice. 

I had incorrect configuration in my config/phpdocxconfig.ini

It is important to have the "single quote" for LibreOffice executable path. 

See :https://www.phpdocx.com/documentation/conversion-plugin/conversion-plugin-installation-and-set-up

[transform]
; libreoffice or openoffice
method = "libreoffice"

; libreoffice installation path, absolute path -- wrap with single quotes
path = '"C:\Program Files (x86)\LibreOffice 5\program\soffice.exe"'