Replies: 3   Views: 6935
Error while trying to open the (base) template as a zip file [resolved]
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 Lerenn  · 21-07-2014 - 14:24

Edited by Lerenn · 22-07-2014 - 16:08
Hello, I downloaded the Trial version but the simplest code doesn't work. When I try to create a docx with the function "$docx = new CreateDocx();", I have this error : "Fatal error: Uncaught exception 'Exception' with message 'Error while trying to open the (base) template as a zip file' in ..\test\phpdocx-trial\classes\ : eval()'d code:55 Stack trace: #0 ..\test\phpdocx-trial\classes\ PhpdocxLogger::logger('Error while try...', 'fatal') #1 ..\test\index.php(6): CreateDocx->__construct() #2 {main} thrown in ..\test\phpdocx-trial\classes\ : eval()'d code on line 55" I have the module zip installed, regarding to my phpinfo() and the checkup file. Do you have any suggestion ? Thanks !