PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » File Formats » Spreadsheet_Excel_Writer » Bug #2942

Problems with files with over 200 row / or 30kb of filesize

Details

Submitted2004-12-10 13:29 UTC
Fromalex dot petri at gmx dot de
Assignedalan_k
StatusClosed
PackageSpreadsheet_Excel_Writer
PHP Version4.3.9
OSLinux
Roadmaps(Not assigned)

Comments

[2004-12-10 13:29 UTC] alex dot petri at gmx dot de

Description:
------------
I have some Problems
if i set:

$xls->_codepage='1250';
$xls->setVersion(8);

the file is corrupt if it is larger than ca 30kb
and/or has more than 150-200 rows...

this happens on the server
which runs linux - Apache/1.3.33 (Unix) PHP/4.3.9

on my testserver (W2K) everything is okay..

[2005-04-09 22:34 UTC] andyetemadi at gmail dot com

I am having the same problem but with heavy formatting and approximately 2,000 rows.

[2005-09-23 14:16 UTC] blindcopy00-spam at yahoo dot com

I am experiencing similar problems on Redhat Enterprise Linux 4 with php-4.3.9 and after upgrading to php-4.3.9-3.8

[2005-10-04 09:22 UTC] gr at alpinfor dot com

Same problems, with 2000 rows.
I think it's a time out from the server...

[2005-10-04 13:10 UTC] fabian dot hess at gmx dot de

I got the same problem (200+ rows), yet on a WinXP machine with PHP 5.0.0.

[2005-10-04 13:13 UTC] tuupola at php dot net

Try to do a

ini_set('max_execution_time', 0);

in the script you produce the excel and see if the problem persists.

[2005-12-19 15:46 UTC] blindcopy00-spam at yahoo dot com

Unfotunatley, this did not work for me:
ini_set('max_execution_time', 0);

[2006-01-13 15:12 UTC] blindcopy00-spam at yahoo dot com

I've also tried to set max execution time to 600 and max post size to 16M with no change in the curruption. The corruption seems to occur in excel files larger than approx 200 records.

[2006-01-13 15:13 UTC] blindcopy00-spam at yahoo dot com

I meant to say greater than 2000 records.