Home > php教程 > php手册 > PHPExcel的exception 'Exception' with message 'The filename is not recognised as an OLE file问题解决

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

WBOY
Release: 2016-06-13 09:00:43
Original
1210 people have browsed it

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

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的。

您可能感兴趣的文章

  • php提示Maximum execution time of 30 seconds exceeded...错误的解决办法
  • 网页缓存控制 Cache-control 常见的取值有private、no-cache、max-age、must-revalidate 介绍
  • select into from 提示 Undeclared variable.....错误的解决办法
  • php提示PHP Warning: date(): It is not safe to rely on the......错误的解决办法
  • select into from 和 insert into select 的区别和用法
  • phpMyAdmin Cannot start session without errors错误解决办法
  • php利用session_set_save_handler()函数将session保存到MySQL数据库中
  • 发送邮件SMTP Error Could not connect to SMTP host. send fail的解决办法
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template