Forum


Replies: 3   Views: 3591
Generate pdf on production server
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 efenel  · 15-12-2013 - 13:18

Hello,



I have an application in which i change a template docx created a new template and turns it into pdf .



On my test server it works correctly , but on my production server, generates the docx is good but not the pdf and I have no error message.



CLI mode it works well (even Apache) but not via http .



The configuration of two servers is identical , library are the same etc. ..

Here configuraiton :

PHPDocx version Corporate

Centos 6.4 64bit

OpenOffice 4.0.1 ( headless mode enabled )

Java 1.5



 



Note: on my test server at the generation docx or pdf I see an output like this: wprogressprogress ... and ca foncitonne well . But on the production server I have no output ( and yet is generated docx )



Do you have an idea to solve my problem?



Second minor problem :

When inserting a html docx with background color in a table cell CSS, the bottom of my text takes a different color ... ( in pdf no worries)


Posted by efenel  · 15-12-2013 - 21:22

Problem solved, it was SELinux blocking Java.



For minor problem, if someone has an idea for that as soon as I apply a background-color I do not have the bug on the text I'm interested


Posted by jorgelj  · 16-12-2013 - 09:17

Hello,



About the output when you transform the document, we have a new TransformDocAdv that allow to hide and show that info. It'll be included on the next version of PHPDocX but it you need it ASAP just send us an email through this form http://www.phpdocx.com/contact



Regards.