PHP Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file Reports/MissingLogs_11072013.xlsx.' in D:\includes\PHPExcel\Writer\Excel2007.php:340

Topics: Developer Forum, Project Management Forum, User Forum
Nov 7, 2013 at 12:28 PM
Edited Nov 8, 2013 at 11:05 AM
PHP Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file Reports/MissingLogs_11072013.xlsx.' in D:\includes\PHPExcel\Writer\Excel2007.php:340
Stack trace:

0 C:\inetpub\wwwroot\SOUPMIGRATION\SOUPMIGRATION\Test\MissingLogs.php(228): PHPExcel_Writer_Excel2007->save('Reports/Missing...')

1 {main}

thrown in D:\includes\PHPExcel\Writer\Excel2007.php on line 340


I have given full control to Everyone: Full Control. And able to create zip file with ZipArchive in Test folder and excel file with PHPExcel but still getting above error. My code is working fine in other machines.

Anybody could help me out ?

PHP Version :5.3
PHPExcel Version: 1.7.4
OS: Windows7 professional