Spreadsheet_Excel_Writer data output is damaged

后端 未结 1 1979
再見小時候
再見小時候 2021-02-14 22:59

I use Spreadsheet_Excel_Writer to generate .xls file and it works fine until I have to deal with a large amount of data. On certain stage it just writes some nonsense chars and

1条回答
  •  渐次进展
    2021-02-14 23:51

    I had the same problem, I found this solution that works for me:

    http://pear.php.net/bugs/bug.php?id=19284&edit=3

    [2012-08-08 17:12 UTC] identit (Vincent Dubourg)

    The solution is change in Root.php \ line 623 :

    fwrite($FILE, pack("V", 1));
    

    to

    fwrite($FILE, pack("V", $num_sb_blocks));
    

    the file is pear/OLE/PPS/Root.php in package OLE 1.0.0RC2 (beta)

    0 讨论(0)
提交回复
热议问题