Forum


Replies: 3   Views: 1920
Conversion to pdf plugin not working
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 it@globalshareplans.com  · 11-05-2016 - 16:11

Hello,

I'm testing the PDF conversion plugin on RHEL using libreoffice and it throws the following error:

Warning: rename(./test.pdf,test.pdf): No such file or directory in /var/www/domain/library/phpdocx-corporate-5.5/classes/TransformDocAdvLibreOffice.inc on line 131

Could you please help me?

Thanks in advance

Posted by admin  · 12-05-2016 - 06:56

Posted by it@globalshareplans.com  · 12-05-2016 - 15:31

After debugging and find out information, I managed get it working.
I'm going to explain what was missing to make it work (if someone need it):

I've had to install Java 8 JRE and mesa-libGL
I've had to change the owner for /var/www from root to apache

Regards.

Posted by admin  · 13-05-2016 - 06:12

Hello,

The latest versions of LibreOffice don't need Java to run and you just need to set the .config folder as 755 of the user that is running the script not the whole folder.

Regards.