Hello,
Please send to contact[at]phpdocx.com the most simple script that illustrates the issue and the template you're using and we'll check it. As we need to run it please don't do external connections such as databases or web services in the script.
Regards.