Replies: 3   Views: 3621
Empyt docx files
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 rjonge  · 22-11-2011 - 15:29


I just purchased the pro version. (v2.4)

Every document I generate is empty. Even if I try the examples. I did not get any errors. does anybody know what could cause this problem?

for example:

require_once '../../classes/';
$docx = new CreateDocx();
$docx->addText( 'This is a test.' );

I can download newFile.docx as expected. But it's empty when opening in Word 2007 (windows). If I open the newFile.docx in a other text editor it's also a empty file.