PHPExcel exception 'Exception' with message 'The filename is not recognized as an OLE file problem solving
Exception 'Exception' with php occurred when parsing excel documents using phpExcel message 'The filename ../phpernote.com/user.xls is not recognized as an OLE file' in D:phpernoteapachehtdocs... error message.
Cause of the problem:
I directly used the excel document created by Excel2007. Although it is also an xls type document, the format seems to be incompatible. Even if xlsx is changed to xls, the above error will still be reported.
Solution:
After creating the document using Excel2007, then save it as 2003.
Articles you may be interested in
- php prompt Maximum execution time of 30 seconds exceeded... Error solution
- Web page cache control Cache-control common The values include private, no-cache, max-age, and must-revalidate. Introduction
- select into from prompts Undeclared variable..... Error solution
- php prompts PHP Warning: date(): It is not safe to rely on the... Error solution
- The difference and usage of select into from and insert into select
- phpMyAdmin Cannot start session without Error solution
- php uses the session_set_save_handler() function to save the session to the MySQL database
- Send email SMTP Error Could not connect to SMTP host. send fail solution
http://www.bkjia.com/PHPjc/1019139.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1019139.htmlTechArticlePHPExcel exception 'Exception' with message 'The filename is not recognized as an OLE file problem solving php uses phpExcel to parse Exception 'Exception' occurred during the process of excel document...