ncjoes / office-converter

PHP Wrapper for LibreOffice
MIT License
197 stars 75 forks source link

"Convertion Failure! Contact Server Admin." #11

Closed Prosanto closed 4 years ago

Prosanto commented 5 years ago

"Convertion Failure! Contact Server Admin."

muktharrox commented 4 years ago

"Convertion Failure! Contact Server Admin." ????

webxform commented 4 years ago

"Convertion Failure! Contact Server Admin." ????

-bash: libreoffice: command not found problem solved install libreoffice (command line)

Gadeoli commented 4 years ago

Some tip to use on windows with wamp?

ncjoes commented 4 years ago

You can download and install LibreOfice for Windows from https://www.libreoffice.org/download/download/

pfleu commented 4 years ago

Some tip to use on windows with wamp?

For Windows, you have to change the source code, as said here

@ncjoes Would it be possible to add a parameter 'windows' in the construct method, so $bin is set to soffice and line 245 changed to : $cmd = 'set HOME=/tmp && '.$cmd; That's all it takes to make work on Windows.

ppavezh commented 3 years ago

Any solution?

i followed all step and it keeps saying "Convertion Failure! Contact Server Admin." on W10, LibreOffice 6.4.7