Skip to content
This repository was archived by the owner on May 19, 2024. It is now read-only.
This repository was archived by the owner on May 19, 2024. It is now read-only.

Symfony3 : “Attempted to load class ”ZipArchive“ from the global namespace. Did you forget a ”use“ statement for ”PHPExcel_Shared_ZipArchive“?” #34

@lackynasta

Description

@lackynasta

I'm using symfony3 and trying to install/use TwigExcelBundle on my ubuntu16 server. I can install it by when I try to use I get the following error :

Attempted to load class "ZipArchive" from the global namespace. Did you forget a "use" statement for "PHPExcel_Shared_ZipArchive"?" at /home/web/dgb/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php line 227

I tried to manually install the php7.0-zip extension but it failed

php -v
PHP 7.0.18-1~dotdeb+8.1 (cli) ( NTS )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions