Fatal Error after attempting 01simple.php

Topics: User Forum
Nov 16, 2012 at 11:34 PM
Edited Nov 17, 2012 at 3:19 AM

Hello,

I ran 01simple.php and 02types.php and received the errors below.  I performed a few searches on the Discussions thread and was not able to locate anything like this.  If you could provide some assistance I would appreciate it greatly.

Thank you.

 

Error from 01simple.php:

23:27:16 Create new PHPExcel object
23:27:16 Set document properties
23:27:16 Add some data
23:27:16 Rename worksheet
23:27:16 Write to Excel2007 format

Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file /var/www/html/Tests/02types.xlsx.' in /var/www/html/Classes/PHPExcel/Writer/Excel2007.php:378 Stack trace: #0 /var/www/html/Tests/02types.php(124): PHPExcel_Writer_Excel2007->save('/var/www/html/T...') #1 {main} thrown in ~Classes/PHPExcel/Writer/Excel2007.php on line 378

Error from 02types.php:

23:26:43 Create new PHPExcel object
23:26:43 Set document properties
23:26:43 Set default font
23:26:43 Add some data
23:26:43 Rename worksheet
23:26:43 Write to Excel2007 format

Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file /var/www/html/Tests/02types.xlsx.' in /var/www/html/Classes/PHPExcel/Writer/Excel2007.php:378 Stack trace: #0 /var/www/html/Tests/02types.php(124): PHPExcel_Writer_Excel2007->save('/var/www/html/T...') #1 {main} thrown in ~Classes/PHPExcel/Writer/Excel2007.php on line 378

PHP Version: 5.3.8

System: Linux Fedora

Web server: Apache 2.2.17

PHPExcel: 1.7.8

Nov 17, 2012 at 3:35 AM

Hello,

Please disregard this post.

It was a permissions issue that I resolved.

Thank you for the forum!