can not read excel file

Topics: User Forum
May 14, 2014 at 3:07 AM
I try to read excel 2003 file this PHP code.

<?php

require_once 'Classes/PHPExcel.php';

$objReader = PHPExcel_IOFactory::createReader('Excel5');
$objPHPExcel = $objReader->load('excel.xls');

?>

But this errors are displayed.

Notice: Undefined offset: -1 in \path\to\Classes\PHPExcel\Reader\Excel5.php on line 918

Fatal error: Call to a member function getBlipType() on a non-object in \path\to\Classes\PHPExcel\Reader\Excel5.php on line 919

Can't I read excel file?