Skip to content

PHP error on invalid XLS file import #9688

@pma-import

Description

@pma-import

PHP Fatal error: Uncaught exception 'Exception' with message 'The filename /tmp/phpQ2ymKo is not recognised as an OLE file' in libraries/PHPExcel/PHPExcel/Shared/OLERead.php:87
Stack trace:
#0 libraries/PHPExcel/PHPExcel/Reader/Excel5.php(1069): PHPExcel_Shared_OLERead->read('/tmp/phpQ2ymKo')
#1 libraries/PHPExcel/PHPExcel/Reader/Excel5.php(584): PHPExcel_Reader_Excel5->_loadOLE('/tmp/phpQ2ymKo')
#2 libraries/import/xls.php(45): PHPExcel_Reader_Excel5->load('/tmp/phpQ2ymKo')
#3 import.php(375): require('./libraries/import/xls.php')
#4 {main}

thrown in libraries/PHPExcel/PHPExcel/Shared/OLERead.php on line 87


Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA problem or regression with an existing featureinvalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions