jasonrogena / jasonrogena/php-excel-reader
Undefined Index and wrong encoding
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
1. Downloaded version 2.22
2. Ran example.php
3.
What is the expected output? What do you see instead?
Got the following errors:
Notice: Undefined index: dontprint in
/var/www/html/phpExcelReader/excel_reader2.php on line 626
Notice: Undefined index: hyperlink in
/var/www/html/phpExcelReader/excel_reader2.php on line 383
Notice: Undefined index: dontprint in
/var/www/html/phpExcelReader/excel_reader2.php on line 626
Notice: Undefined index: hyperlink in
/var/www/html/phpExcelReader/excel_reader2.php on line 383
Notice: Undefined offset: 3 in
/var/www/html/phpExcelReader/excel_reader2.php on line 626
The output is also garbled.
Please provide any additional information below.
Using RedHat Linux 4 kernel 2.6.18-028stab056
php 5.9
```
Original issue reported on code.google.com by `alie...@gmail.com` on 22 Jan 2010 at 6:43
Attachments:
- [example.xls](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-61/comment-0/example.xls)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running example.php with the attached example.xls and reproduce the notices reported at excel_reader2.php lines 383 and 626. Inspect those locations and the input handling to identify the missing-index and encoding behavior; done means the example runs without these notices and the output is no longer garbled.
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