Forum


Replies: 10   Views: 4047
Createdocx gives a corrupted document
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 admin  · 15-09-2017 - 16:07

Hello,

Please run one of the included samples in the package.

The library doesn't download the DOCX unless you enable the stream mode or use the createDocxAndDownload method. Using the createDocx method without the stream mode, it generates the DOCX but it's not downloaded.

Regards.