Forum


Replies: 2   Views: 1079
Fatal error: uncaught error: class 'ziparchive' not found
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 davelavinsky  · 27-09-2018 - 13:56

Im on a Digital Ocean server : PHP Version 7.0.32-0ubuntu0.16.04.1

PHPDOCX 5.5 Corporate

Today I am getting these errors :


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; fpdi_pdf_parser has a deprecated constructor in /home/username/lib/3rdParty/phpdocx-corporate-5.5/lib/fpdi/fpdi_pdf_parser.php on line 22

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pdf_parser has a deprecated constructor in /home/username/lib/3rdParty/phpdocx-corporate-5.5/lib/fpdi/pdf_parser.php on line 51

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pdf_context has a deprecated constructor in /home/username/lib/3rdParty/phpdocx-corporate-5.5/lib/fpdi/pdf_context.php on line 22

Fatal error: Uncaught Error: Class 'ZipArchive' not found in /home/username/lib/3rdParty/phpdocx-corporate-5.5/classes/CreateDocx.inc:634 Stack trace: #0 /home/username/lib/3rdParty/phpdocx-corporate-5.5/classes/CreateDocxFromTemplate.inc(46): CreateDocx->__construct('/home/planbuild...', 'resources/templ...') #1 /home/username/public_html/bp.php(97): CreateDocxFromTemplate->__construct('resources/templ...') #2 {main} thrown in /home/username/lib/3rdParty/phpdocx-corporate-5.5/classes/CreateDocx.inc on line 634

 

Posted by davelavinsky  · 27-09-2018 - 18:18

Sorry - this was an issue with the automatic PHP update on Digital Ocean's server which caused several issues.