致命错误:未捕获的异常' Exception'在PHPExcel类中 [英] Fatal error: Uncaught exception 'Exception' in PHPExcel classes

查看:107
本文介绍了致命错误:未捕获的异常' Exception'在PHPExcel类中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以让我知道为什么PHPExcel类抛出了以下错误

Can any one please let me know, why this following error has been thrown from PHPExcel classes

    Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file
 /var/www/mydomain/myexcel.xlsx.' in /var/www/mydomain/Classes/PHPExcel/Writer
/Excel2007.php:400 Stack trace: #0 /var/www/mydomain/myexcel.php(173):
 PHPExcel_Writer_Excel2007->save('/var/www/mydomain...') #1 {main} 
thrown in /var/www/mydomain/Classes/PHPExcel/Writer/Excel2007.php on line 400

推荐答案

我希望此异常可能发生,因为Excel工作表仍处于打开状态.还请检查您在其中写入/保存/上载.xlsx文件的文件夹的权限.

I hope this exception may occur because of the Excel sheet is still in open state. also please check with the permission of the folder in which you write/save/upload the .xlsx file.

这篇关于致命错误:未捕获的异常' Exception'在PHPExcel类中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆