Rumah > 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问题解决

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Lepaskan: 2016-06-13 09:00:43
asal
1280 orang telah melayarinya

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的解决办法
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Cadangan popular
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan