PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > 开发编程 > PHP教程 > 正文

    PHPExcel的exception 'Exception' with message 'The filename is not recognised as an OLE file问题解决

    作者:admin来源:网络浏览:时间:2020-09-30 00:07:50我要评论
    导读:php使用phpExcel解析excel文档的过程中出现 exception 'Exception' with message 'The filename ../phpernote.com/user...
    php使用phpExcel解析excel文档的过程中出现 exception 'Exception' with message 'The filename ../phpernote.com/user.xls is not recognised as an OLE file' in D:\phpernote\apache\htdocs... 错误提示。

    问题原因:

    我直接使用Excel2007创建的excel文档,虽然也是xls类型文档,但貌似格式不兼容,即使将xlsx改成xls,也同样会报上述错误。

    解决办法:

    使用Excel2007创建文档后,然后另存为2003的。

    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-10-2500-1.html
    相关热词搜索:
    上一篇:php无限极分类