Replies: 7   Views: 3266
Creating more than one docx results in corrupt 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 hchandler  · 11-04-2013 - 12:13

One other thing that I just happened to notice. In another script I've just added creation of a second docx and it works in my initial tests - both docx's are fine. The only difference is that both of the docx's in this script are single page. I wonder if the phpdocx code has some issue creating multiple pages? For example, I have a table in the template that is filled with an array of values. That table sometimes flows on to the second page dependent upon how much data is in the array. Perhaps this related to the foot1.xml error message above when the packageobject tool complained.