Forum


Replies: 3   Views: 2951
Import footer problem after updateing template file
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 cstolze  · 21-11-2016 - 11:33

Hi,

we import a footer file in different word documents created by phpdocx. It worked fine until we change the footer content. After uploading the new file, we still get the old footer. We even try to rename the footer file and DELETED the old footer template and we still get the old footer?

How this can be happen? Any ideas?

Posted by loktron  · 21-11-2016 - 12:32

how exactly do you do that? Maybe the old one is still in cache and you have to re import it

 

regards

Posted by admin  · 21-11-2016 - 13:25

Hello,

The method importHeadersAndFooters removes the existing headers and footers and adds the new ones from the imported DOCX.

Maybe there's a cache problem on your server? Maybe you could try using PHP CLI mode and one of the included examples. To know where the problem comes from we'd need to check it directly.

Regards.

Posted by cstolze  · 21-11-2016 - 14:22

I will check the cache with the server admin. The importHeadersAndFooters method we are using allready.