PHP Excel

Spread the love

Errore in cui sono incorso provando la libreria PHPExcel:

marcob@jsbach:~$ tail -f  /var/log/apache2/error.log
[Thu Mar 31 16:40:26 2011] [error] [client] 
PHP Fatal error: Uncaught exception 'Exception' with message 
'Could not close zip file
/var/www/Classes/PHPExcel/Tests/01simple.xlsx.' in
Stack trace:n#0 /var/www/Classes/PHPExcel/Tests/01simple.php(77):
#1 {main}
thrown in 
on line 344

In sostanza non riesco a scrivere nella directory



root@jsbach:/var/www/Classes/PHPExcel# chmod 775 Tests/
root@jsbach:/var/www/Classes/PHPExcel# chgrp www-data Tests/

L’errore sparisce e il file viene salvato.

Lascia un commento

Your email address will not be published.