Replies: 1   Views: 1735
Local.error: error while trying to open the (base) templat e as a zip 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 rocky9988  · 17-12-2019 - 02:00

Zip enabled Zip version 1.15.4 Libzip version,But this error is still reported. What is the cause?


local.ERROR: Error while trying to open the (base) templat e as a zip file {"exception":"[object] (Exception(code: 0): Error while trying t o open the (base) template as a zip file at


Posted by admin  · 17-12-2019 - 07:25


What version and license of phpdocx are you using?

That error appears when trying to use a not valid DOCX as template or the file doesn't exist.

We recommend you to check the included samples and the available documentation.