Forum


Replies: 4   Views: 3797
Disable transformdocx() [info] output
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 hafifimasod  · 29-10-2013 - 12:02

Hi,



Each time I execute transformDocx() command, the [INFO] output is also displayed on the webpage. Is there any way to disable it? I try to adjust php4log level, but it won't work. This is what I get each time I execute the command:



[INFO][C:\Windows\TEMP\tempDocX_526f94f01245f.docx] Converting tempDocX_526f94f01245f.docx into tempOdt_526f94f01438b.odt [INFO][C:\Windows\TEMP\tempDocX_526f94f01245f.docx] Conversion succeeded [INFO][C:\Windows\TEMP\tempDocX_526f94f01245f.docx] Total conversion time: 00:00:00.8757280 Done.


Posted by jorgelj  · 29-10-2013 - 15:43

Hello,



Could you run the same file using the CLI mode?. This is running:



php script.php



And please paste the output.



Regards.


Posted by hafifimasod  · 13-11-2013 - 09:06

Hi, sorry for the late reply. This is what I got when run in CLI mode:



D:\path\to\file\test.php

[INFO][C:\Users\Administrator\AppData\Local\Temp\2\tempDocX_5283324e77dab.docx]

Converting tempDocX_5283324e77dab.docx into tempOdt_5283324e7a314.odt

[INFO][C:\Users\Administrator\AppData\Local\Temp\2\tempDocX_5283324e77dab.docx]

Conversion succeeded

[INFO][C:\Users\Administrator\AppData\Local\Temp\2\tempDocX_5283324e77dab.docx]

Total conversion time: 00:00:01.2291201

Done.

Nov 13, 2013 4:03:29 PM com.artofsolving.jodconverter.openoffice.connection.Abst

ractOpenOfficeConnection connect

INFO: connected

Nov 13, 2013 4:03:29 PM com.artofsolving.jodconverter.openoffice.connection.Abst

ractOpenOfficeConnection disposing

INFO: disconnected


Posted by jorgelj  · 14-11-2013 - 10:23

Hello,



That info comes from OdfConverter and OpenOffice. I'm going to check it, but I think that adding '@' at the beginning of passthru functions in TransformDocxAdv.inc class.



Regards.