Phpexcel's Exception ' Exception ' with message ' The filename ' isn't recognised as an OLE file problem Resolution _php Tutorial

Source: Internet
Author: User

Phpexcel's Exception ' Exception ' with message ' The filename ' isn't recognised as an OLE file problem resolution


PHP uses Phpexcel to parse the Excel document during the process of appearing exception ' exception ' with message ' the filename '. /phpernote.com/user.xls is not recognised as a OLE file ' in D:\phpernote\apache\htdocs ... Error prompt.

Cause of the problem:

I use the Excel document created directly by Excel2007, although it is also an XLS type document, but it seems that the format is incompatible, even if you change xlsx to XLS, the same error will be reported.

Workaround:

After you create the document by using Excel2007, then save as 2003.

Articles you may be interested in

    • PHP Tip maximum execution time of seconds exceeded ... The wrong solution
    • Web cache control Cache-control common values are private, No-cache, Max-age, Must-revalidate Introduction
    • Select into from prompt undeclared variable ..... The wrong solution
    • PHP tip php warning:date (): It is not safe to rely on the ... The wrong solution
    • The difference and usage of SELECT into from and insert into select
    • PhpMyAdmin cannot start session without errors error resolution
    • PHP uses the Session_set_save_handler () function to save the session to the MySQL database
    • Send mail SMTP Error Could not connect to SMTP host. Solution for Send fail

http://www.bkjia.com/PHPjc/1019139.html www.bkjia.com true http://www.bkjia.com/PHPjc/1019139.html techarticle Phpexcel's Exception ' Exception ' with message ' The filename ' isn't recognised as an OLE file problem solving PHP using Phpexcel parsing Excel document The process appears exception ' exception ' ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.