Forum


Replies: 3   Views: 5765
Solved!!! the generated docx file is corrupted after adding image.
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 bdm  · 27-11-2016 - 17:29

I've been using PHPDOCX (version 5.5) for almost 2 years.This issue happened just last week, I don't have any problem generating files with images in the past.

I tried all possible solution how to prevent it but no success.

After generating file WORD gives a warning that says, The open xml file cannot be opened because there are problems with the content or the file namemight contain invalid characters.

With second warning... WORD found unreadable content. Do you want to recover the contents of this document? After selecting YES the document open just fine with all the correct formating. After saving it in the desktop I can open it again without any issue or warning. Any help will be greatly appreciated cause I tried to find a solution for days without any luck.