Categories > OpenTBS with DOCX >

Docx corrupted file. Xml missing.

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Stefano
Date: 2014-08-05
Time: 13:37

Docx corrupted file. Xml missing.

I have a problem with OPENTBS.
When i merge the docx template and try to download it some of the xml files that should be present within the docx file are missing.

The strange thing is that the same script on another server and other script on the same server work perfectly.

I'm going to be crazy!!!

Help!!!!
By: Skrol29
Date: 2014-08-06
Time: 01:59

Re: Docx corrupted file. Xml missing.

Can you give more details ?
Which XML files are missing ?

Did you check that your script is not outputting extra contents before or after the command Show() ?
This can be checked using the debug mode.
By: Stefano
Date: 2014-08-06
Time: 08:42

Re: Docx corrupted file. Xml missing.

The files missing are:

[Content_Types].xml
_rels folder and related files
docProps folder and related files

I checked my script for extra content and all is ok.
The strange thing is that if I save the file to my server all work properly!!!