Login   Register  
PHP Classes
elePHPant
Icontem

not reading xls file (reading xlsx file correctly)

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Simple XLSX  >  All threads  >  not reading xls file (reading xlsx file correctly)  >  (Un) Subscribe thread alerts  
Subject:not reading xls file (reading xlsx file correctly)
Summary:Problem in reading xls file
Messages:5
Author:Maulik
Date:2013-02-01 18:09:41
Update:2013-02-05 19:33:25
 

  1. not reading xls file (reading xlsx file correctly)   Reply   Report abuse  
Picture of Maulik
Maulik
2013-02-01 18:09:41
I have tried reading xls file with this library, it is simply not reading those files.

If I save those file in xlsx format. It reads without any problem.

The error it is throwing is like below.
SimpleXLSX Object
(
[workbook:SimpleXLSX:private] =>
[sheets:SimpleXLSX:private] => Array
(
)

[hyperlinks:SimpleXLSX:private] =>
[package:SimpleXLSX:private] => Array
(
[filename] => 456.xls
[mtime] => 1359738455
[size] => 17408
[comment] =>
[entries] => Array
(
)

)

[sharedstrings:SimpleXLSX:private] => Array
(
)

[error:SimpleXLSX:private] => Entry not found: _rels/.rels
[datasec] => Array
(
)

)

Please do needful. How can I solve this issue.

  2. Re: not reading xls file (reading xlsx file correctly)   Reply   Report abuse  
Picture of Sergey Shuchkin
Sergey Shuchkin
2013-02-02 13:08:12 - In reply to message 1 from Maulik
Don't try open XLS, this class used to read XLSX

  3. Re: not reading xls file (reading xlsx file correctly)   Reply   Report abuse  
Picture of vsaxpdya
vsaxpdya
2013-02-04 15:12:06 - In reply to message 2 from Sergey Shuchkin
Hi, i have problem in reading xlsx file with UNIX codepage
example http://www.okko.ua/index.php/exportExcel?object_type=1

  4. Re: not reading xls file (reading xlsx file correctly)   Reply   Report abuse  
Picture of Sergey Shuchkin
Sergey Shuchkin
2013-02-04 23:10:44 - In reply to message 3 from vsaxpdya
Your content in sheet 4

print_r( $xlsx->rows(4) );

  5. Re: not reading xls file (reading xlsx file correctly)   Reply   Report abuse  
Picture of vsaxpdya
vsaxpdya
2013-02-05 19:33:25 - In reply to message 4 from Sergey Shuchkin
Tnx!