Forums | Mahara Community
Support
/
"Download folder content as a zip file" error
27 February 2024, 5:00
Hello,
I have a bug reported by a user. After investigation, problem is omnipresent and reproducible. Everytime a user try to download folder content as a zip file, the system produce a "Mahara FGA FP: Site unavailable;A nonrecoverable error occurred. This probably means you have encountered a bug in the system".
It's probably a setting error on our server. But I have no clue as to where to look to correct this. Apache error log shows a "Undefined array key "application/zip-compressed".
We're running a 23.04.4 version on a CentOS Linux 7, with php 8.1.27.
Thanks for your help!
27 February 2024, 11:08
Hi Stéphane,
The thing I would check is to make sure the PHP module 'php-zip' is installed and enabled for the server.
You could try
php -m | grep zip
Or you could try the instructions at Centos 7 install php modules under 'Installing a PHP Module'
Please let me know if that is the problem or not
Cheers
Robert
27 February 2024, 13:45
Thank you Robert. Our sysadmin probably forgot to install this module in php 8.2! It did the trick and the error is gone! Great!