I am using PHPExcel lib for generating excel file of a table of mysql database. But I m getting a fatal error when i call a function for excel generation. The error which is comming is given below.
Fatal error: Uncaught exception 'Exception'
with message 'Could not close zip file DfEeFxMeVtUnSbKoEpTpYdYiYsEnGrQi.xlsx.'
in /home/testcente2/domains/topcats-backend-testcenter.nl/public_html/dev/core/lib/PHPExcel/Writer/Excel2007.php:337
Stack trace:
#0 /home/testcente2/domains/topcats-backend-testcenter.nl/public_html/dev/core/lib/class.IExportModule.php(81): PHPExcel_Writer_Excel2007->save('DfEeFxMeVtUnSbK...')
#1 /home/testcente2/domains/topcats-backend-testcenter.nl/public_html/dev/core/lib/class.ExportModule_lang.php(59): IExportModule->_download_Excel2007()
#2 /home/testcente2/domains/topcats-backend-testcenter.nl/public_html/dev/controllers/export.get.create.php(12): ExportModule_lang->export()
#3 /home/testcente2/domains/topcats-backend-testcenter.nl/public_html/dev/export.php(17): require_once('/home/testcente...')
#4 {main} thrown in /home/testcente2/domains/topcats-backend-testcenter.nl/public_html/dev/core/lib/PHPExcel/Writer/Excel2007.php on line 337
hello friends please tell me why this error occurred and how can we fix this error?
phpinfo();and see thatzlibis enabled or not?? - diEcho