Z
Z
zhdoon2017-12-06 17:17:40
phpspreadsheet
zhdoon, 2017-12-06 17:17:40

Why is the .xls file not being read by means of the phpExcel library?

Code:
require_once('PHPExcel/IOFactory.php');
$xls = PHPExcel_IOFactory::load('xls.xls');
We open the page in the browser and see endless entries like this:
Notice: Uninitialized string offset: 1572863 in /home/bitrix/ext_www/path.to.site/xls/Classes/PHPExcel/Shared/OLERead.php on line 309
Notice: Uninitialized string offset: 1572860 in /home/bitrix/ext_www/path.to.site/xls/Classes/PHPExcel/Shared/OLERead.php on line 316
.......
What's wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question