jasonrogena / jasonrogena/php-excel-reader
infinite loop on import
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
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:
- [sample_invoices.xls](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-45/comment-0/sample_invoices.xls)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import with the attached sample_invoices.xls file and inspect Excel.php around line 196, where the undefined-index notice is reported. Trace the import loop to identify why the webserver times out; done means the sample file imports without the notice or an infinite loop.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100