Hello,
Please follow the steps explained on
http://www.phpdocx.com/documentation/conversion-plugin/debugging-libreoffice
To debug it and update the post with the step you get the first error. It seems some folder is missing rw access; also check that LibreOffice is not open when doing the transformation.
Regards.
HI I am Movians colleague
Have tried everthing on that list. generation on command line works fine but no under webserver on windows.
section 4 talks about needing write permission to the home folder. what folder whould that apply two when apache is running as a service on windows?
Hello,
You need to set rw access to the .config folder of the home folder of the user that is running the web server. This path is set in your server config; the most common in Windows using apache is httpdocs.
We also recommend you to try setting the method option as script and enable the debug mode to get more info in the logs of Apache:
http://www.phpdocx.com/api-documentation/format-conversion/convert-Word-docx-into-pdf-with-PHP
What version of LibreOffice are you using?
Regards.
Apache running as a service is running under the SYSTEM user, i have checked and SYSTEM has full read write over all file within the Laravel Project, including the TestFiles folder we are creating the the doc in and the public folder that is the root of the webserver.
SYSTEM also has full read write access over the full Apache directory. Checking the apache error logs gives not clues as these are empty accept for a few entrys related to the starting and stoping of the server.
We are suing the latest LibraOffice downloaded from there site withing the last week. Version: 5.1.4.2.
The LibraOffice setup works fine on our debain server. Its just under windows we are having an issue.
Hello,
Did you try using the script method and enabling the debug mode? Enabling debug mode should always return at least a log line.
Regards.
Could you elaborate abit more on that?
What is script method?
And how do we enable debug mode in phpdocx?
Hello,
Both parameters were referenced on our previous update:
We also recommend you to try setting the method option as script and enable the debug mode to get more info in the logs of Apache:
http://www.phpdocx.com/api-documentation/format-conversion/convert-Word-docx-into-pdf-with-PHP
Please check this docpage and this one (Available Options):
For further support please write to contact[at]phpdocx.com . The dev team can check it directly on your server; you need to send access to your server, the path were phpdocx is installed and an URL to test it using a web browser.
Regards.