PB
Asked
Hi I Can't download xl format reports, my website hosted on Digital-Ocean LAMP. Getting the below error ! Thanks
This site can’t be reached The webpage at https://nbinventory.com/admin/reports/getSalesReport/0/xls/?v=1 might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
This site can’t be reached The webpage at https://nbinventory.com/admin/reports/getSalesReport/0/xls/?v=1 might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
- MSAnsweredHello,
Please check your server error logs and let me know the error details so that I can suggest.
You can try to enable app logs by changing the `log_threshold` to 1 in `app/config/config.php` and try to export the report again to re-produce errors. Lastly check the latest error log in the `app/logs/` folder.
Thank you - PBAnsweredApp log shows the error below, thanks.
ERROR - 2021-01-12 17:32:42 --> Severity: error --> Exception: Class 'ZipArchive' not found /var/www/nbinventory/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php 210 - PBAnsweredI hosted on LAMP 18.04, Digital ocean, If you can reply with PHP & ZIP version as well, thanks.
- PBAnsweredPHP version 7.3.21
- MSAnsweredHello,
I have very limited experience of server and use third-party server. As I remember you can install php extensions as following
```sh
sudo apt-get install php-xml php-zip
```
You can google to know more.
Thank you - PBAnsweredsudo apt-get install php7.2-zip
Solved. Many thanks. - Login to Reply