Open GoogleCodeExporter opened 9 years ago
Can you repost this error on my branch of the application at:
http://code.google.com/p/php-excel-reader2/
Can you attach your Excel/PHP ?
Original comment by sirsh...@gmail.com
on 19 Jan 2010 at 12:30
[deleted comment]
I had the same issue with v2.22 :
The public function type() calls info() function, which is looking for a key
named
'type' (line 354). But in function _getCellDetails, on line 1527, the type is
associated to the key "rectype" :
return array ('string' => $string, 'raw' => $raw, 'rectype' => $rectype,
'format' =>
$format, 'formatIndex' => $formatIndex, 'fontIndex' => $fontIndex,
'formatColor' =>
$formatColor, 'xfIndex' => $xfindex );
I changed the line 1527 by this one, and type() worked as expected :
return array ('string' => $string, 'raw' => $raw, 'type' => $rectype, 'format'
=>
$format, 'formatIndex' => $formatIndex, 'fontIndex' => $fontIndex,
'formatColor' =>
$formatColor, 'xfIndex' => $xfindex );
Note : be sure to not create an instance of your reader with the second
argument to
'false' or the information about cells won't be available.
Original comment by phoenni...@gmail.com
on 24 Feb 2010 at 10:52
The issue was fixed!!
Thank you very much.
Original comment by xgra...@gmail.com
on 24 Feb 2010 at 11:15
This bug is still present in the last version (php-excel-reader-2.21.zip).
Somewhere near line #1651 find the next line:
'rectype'=>$rectype,
and change it to
'type'=>$rectype,
And all will be OKI-DOKI!
Original comment by beoti...@gmail.com
on 7 Jun 2010 at 1:51
Original issue reported on code.google.com by
xgra...@gmail.com
on 19 Jan 2010 at 12:10