You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ppavezh Instead of using this repo, do yourself a favor and just use this code:
`<?php
$output=null;
$retval=null;
$command = 'soffice --convert-to pdf "C:\htdocs\temp\TEST.doc" --outdir "C:\htdocs\temp"';
exec($command, $output, $retval);
echo "Returned with status $retval and output:\n";
print_r($output);
?>`
You will need an installation of libreoffice. You will also need to add this path to the PATH environment variables:
C:\Program Files\LibreOffice\program
Or just use the full path to the soffice.exe file in your command. Since this repo doesn't give any good errors, and this will give you much better feedback.
The fact that the error message doesn't even spell "conversion" correctly should be a good clue something's off.
Another solution guys?
i followed all steps and it keep saying Convertion Failure! Contact Server Admin. W10 ,LibreOffice 6.4 and the last version
The text was updated successfully, but these errors were encountered: