yourilima / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

infinite loop on import #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Read in the attached file
2. Get PHP Notice: 

 Undefined index:  in Excel.php on line 196

(i renamed the library to Excel.php)

What is the expected output? What do you see instead?
The webserver times out since the script is in a tailspin.

Please provide any additional information below.
I've attached the excel file I'm using.

Original issue reported on code.google.com by j...@artworksdesign.com on 9 Oct 2009 at 6:50

Attachments:

GoogleCodeExporter commented 9 years ago
Also, prior to the repeating notice above, I get this notice

PHP Notice:  Undefined property: OLERead::$rootentry in Excel.php on line 233

Original comment by j...@artworksdesign.com on 9 Oct 2009 at 6:55

GoogleCodeExporter commented 9 years ago
Line 196, for me, is:
$block = $this->bigBlockChain[$block];

I added this in case some error settings I made at the top of the file might 
have changed the line numbering

Original comment by j...@artworksdesign.com on 9 Oct 2009 at 7:12