Forum


Replies: 2   Views: 4067
Replacing image placeholders in template creates corrupt 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 arcmedia  · 09-03-2015 - 14:56

Hello, We're having an issue where replacing image placeholders in template generates a corrupted document. MS Word Error message is as follows: "We're sorry. We can't open document_name because we found a problem with its contents. Details: The file is corrupt and cannot be opened". When hitting OK, I get: "Word found unreadable content in document_name. Do you want to recover the contents of this document?". Hitting "Yes" seems to recover a well formed document. A dialog appears with a list of repairs, all being "Sections and Headers". Thanks in advance.