Forum


Replies: 2   Views: 5415
Check.php weird error
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 xarkon  · 17-10-2013 - 07:13

I have installed phpdocx (pro trial) and the examples I have tried (from the examples directory) work fine.



However, running check.php dumps garbage to the browser screen. I did some analysis and isolated the problem to the following statements:



require_once 'classes/PhpdocxUtilities.inc';



require_once 'classes/GenerateDocx.inc';



When these execute, the content of each file is being output to the browser window. Subsequently, echo $output fails. If I echo $output before these statements, I get all of the nicely formatted test results before the trash appears on the browser.



Tidy, ZipArchive, and XSLT are enabled.



Ideas?