XLSXReader icon indicating copy to clipboard operation
XLSXReader copied to clipboard

zip->open() returns ZipArchive::ER_NOENT

Open arya108 opened this issue 6 years ago • 0 comments

Before last weekend, I was able to read XLSX files. As of last weekend, any type of XLSX file I try to open returns a ZipArchive::ER_NOENT status code. I've tested two types of XLSX files that were verified by running file test.xlsx in Linux:

  • Microsoft OOXML
  • Microsoft Excel 2007+

Both these files open with LibreOffice Calc.

The line that returns the error is in XLSXReader.php: $status = $this->zip->open($filePath);

Why are neither of my XLSX files reading suddenly?

I've tested the following Zip classes and they all fail when attempting to use ZipArchive::open. It seems the open method uses the zlib library, which seems to use the [libzip](https://libzip.org/) library.

So, it seems the issue is with lib zip.

arya108 avatar Feb 14 '19 09:02 arya108