I would like to use the template function in order to make life easier for my end users. However, as soon as I start using addTemplate('path/template.docx') the following warnings show up:
[quote]
Warning: ZipArchive::addFile() [ziparchive.addfile]: Invalid or unitialized Zip object in /var/www/view_extensions/php_docx/v2.6_pro/classes/CreateDocx.inc on line 6148
(...)
Warning: ZipArchive::close() [ziparchive.close]: Invalid or unitialized Zip object in /var/www/view_extensions/php_docx/v2.6_pro/classes/CreateDocx.inc on line 4314
[/quote]
The files itself get created and seem to be OK (no error when opening them etc).
Any help would be appreciated.