PHPOffice / PHPPresentation

A pure PHP library for reading and writing presentations documents
https://phpoffice.github.io/PHPPresentation
Other
1.31k stars 523 forks source link

Class 'ZipArchive' not found #706

Closed alfkoblischke closed 3 months ago

alfkoblischke commented 2 years ago

I use PHP Presentation with Codeigniter 3. My vendor directory is under the application directory. I allwas get the Error-Message: Class 'ZipArchive' not found, as soon as I want to save a Presentation. It cant find: /vendor/phpoffice/common/src/Common/Adapter/Zip/ZipArchiveAdapter.php. But the file is there. Can anybody help?

charleskennethhernandez commented 1 year ago

Hello! Can I ask how did you implement the PHPPresentation Library to Codeigniter? Thanks

alfkoblischke commented 1 year ago

Hi,

in the end it was quite easy… I had the wrong php version without zipArchive. I changed the php version and it worked…

best regards

Alf

Von: ckayhernandez @.> Gesendet: Mittwoch, 11. Januar 2023 09:39 An: PHPOffice/PHPPresentation @.> Cc: alfkoblischke @.>; Author @.> Betreff: Re: [PHPOffice/PHPPresentation] Class 'ZipArchive' not found (Issue #706)

Hello! Can I ask how did you implement the PHPPresentation Library to Codeigniter? Thanks

— Reply to this email directly, view it on GitHub https://github.com/PHPOffice/PHPPresentation/issues/706#issuecomment-1378405527 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AECA5VCELIDJHDRLZW63E63WRZWSVANCNFSM5S7VBKVQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AECA5VGTZ2JRQKPHGXFTF7DWRZWSVA5CNFSM5S7VBKV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKIUMZFY.gif Message ID: @. @.> >

charleskennethhernandez commented 1 year ago

may i know how did you implement it via codeigniter?