mahendratyagi / php-spreadsheetreader

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

failed to read spreadsheets #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to open a spreadsheet in xsl and ods

What is the expected output? What do you see instead?
[Wed Jul 06 14:52:56 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' 
not found in /var/www/php-spreadsheetreader/SpreadsheetReader.php on line 139, 
referer: http://localhost/script.php
[Wed Jul 06 14:52:56 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): \xd0\xcf\x11\xe0\xa1\xb1\x1a\xe1 in 
/var/www/php-spreadsheetreader/SpreadsheetReader.php on line 139, referer: 
http://localhost/script.php
[Wed Jul 06 14:52:56 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): ^ in 
/var/www/php-spreadsheetreader/SpreadsheetReader.php on line 139, referer: 
http://localhost/script.php
[Wed Jul 06 14:53:15 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' 
not found in /var/www/php-spreadsheetreader/SpreadsheetReader.php on line 129, 
referer: http://localhost/script.php
[Wed Jul 06 14:53:15 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): PK\x03\x04\x14 in 
/var/www/php-spreadsheetreader/SpreadsheetReader.php on line 129, referer: 
http://localhost/script.php
[Wed Jul 06 14:53:15 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): ^ in 
/var/www/php-spreadsheetreader/SpreadsheetReader.php on line 129, referer: 
http://localhost/script.php
[Wed Jul 06 14:53:19 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' 
not found in /var/www/php-spreadsheetreader/SpreadsheetReader.php on line 129, 
referer: http://localhost/script.php
[Wed Jul 06 14:53:19 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): \xd0\xcf\x11\xe0\xa1\xb1\x1a\xe1 in 
/var/www/php-spreadsheetreader/SpreadsheetReader.php on line 129, referer: 
http://localhost/script.php
[Wed Jul 06 14:53:19 2011] [error] [client 127.0.0.1] PHP Warning:  
simplexml_load_string(): ^ in 
/var/www/php-spreadsheetreader/SpreadsheetReader.php on line 129, referer: 
http://localhost/script.php

What version of the product are you using? On what operating system?
tried the revisions: 27,26,25

Please provide any additional information below.

Original issue reported on code.google.com by nadav...@gmail.com on 6 Jul 2011 at 11:54

GoogleCodeExporter commented 9 years ago
I have the same issue in centos.

Original comment by garrett...@gmail.com on 10 May 2013 at 4:31

GoogleCodeExporter commented 9 years ago
If i remove this line from my code:

header("Content-Type: text/html; charset=utf-8");

it work, it seems it will not work with utf8.

Original comment by d...@seo-kueche.de on 8 Oct 2014 at 7:03