Forum


Replies: 1   Views: 3784
Can't execute passthru functions in classes/transformdocadv
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 baseet  · 14-10-2014 - 07:36

all php passthru functions in classes/TransformDocAdv doesn't work properly. In our system we don't have any problem dealing with passthru, we executed many commands like mkdir, chmod, chown using shell_exec and it worked properly with no problems. these commands don't work properly : passthru(dirname(__FILE__) . $odfconverterPath . ' /I ' . $newDocx . ' /O ' . $tempDoc . $outputDebug); passthru('java -jar ' . dirname(__FILE__) . '/../lib/openoffice/jodconverter-2.2.2/lib/jodconverter-cli-2.2.2.jar ' . $tempDoc . ' ' . $docDestination . $outputDebug); ---------------------------------------- for notice : when we execute check.php, all requirements are ok, and everything are working fine.

Posted by admin  · 14-10-2014 - 13:59

Hello, Please run the included example using the CLI mode and enabling the debug mode. After this, run OdfConverter standalone, you may find it in lib/OdfConverter; maybe your OS is missing some library. What OS are you using? Regards.