ivan-berezhnov / php-excel-reader

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

Undefined Index and wrong encoding #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
Please ignore the undefined index problem.
Here is the source of the rendered document. It seems that a graphical ? is 
embeded
in the font family and other styling places. I compared the apache versions of 
the
two environments. The one with the problem is version 2.0 while the one that is 
ok is
2.22

Original comment by alie...@gmail.com on 24 Jan 2010 at 1:18

Attachments:

GoogleCodeExporter commented 9 years ago
It seems that the problem is related to PHP configuration. The option 
--disable-all
seems to disable certain plug-ins that are required for correct rendering of
phpexcelreader output.

I wonder which plug-in is responsible for the problem so that we can have 
minimal php
and at the same time use phpexcelreader.

Regards

Original comment by alie...@gmail.com on 25 Jan 2010 at 12:47

GoogleCodeExporter commented 9 years ago
--disable-all disables iconv which is required by excel_reader2. Enabling iconv
resolves the issue.

Original comment by alie...@gmail.com on 25 Jan 2010 at 1:05

GoogleCodeExporter commented 9 years ago
i am also getting the same error.please tell me how to enable the iconv.am 
working on fedora 13 and php5.3

Original comment by aneeshku...@gmail.com on 3 Oct 2011 at 7:19