Forum


Replies: 2   Views: 1742
Crash when using a custom docx file as base template
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 vpratfr  · 06-07-2020 - 15:03

Hi

I was about to send the template and then Gmail just pointed me at the fix:

When creating an empty file and just saving without touching anything else, Word does not save anything into the file (it is a 0 byte file).

I simply opened it, and just typed and erased a character, saved it, and BAM - the file was 13 kb in size. My code is now working nicely.

Thanks, sorry for the confusion, blame Microsoft for a fake Word file :)