[PEAR-BUG] Bug #19971 [Com]: Excel Writer - pointer to variable has been unassigned

[email protected] ("[email protected]")
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at https://pear.php.net/bugs/bug.php?id=19971&edit=1

 ID:               19971
 Comment by:       [email protected]
 Reported By:      brian at axitech dot co dot uk
 Summary:          Excel Writer - pointer to variable has been
                    unassigned
 Status:           Open
 Type:             Bug
 Package:          Spreadsheet_Excel_Writer
 Operating System: Windows 7 (64-bit)
 PHP Version:      5.4.7
 Roadmap Versions: 
 New Comment:

This is a duplicate to #19359
This issue is a real pain for anyone wanting to use PHP > 5.3 and wants
a clean PEAR installation.
Please, release a new release to this package ASAP with a solution to
this issue.

Regards,

Peter


Previous Comments:
------------------------------------------------------------------------

[2013-06-29 07:53:25] doconnor

-Package: PEAR
+Package: Spreadsheet_Excel_Writer


------------------------------------------------------------------------

[2013-06-06 16:19:10] b_woodward2000

Description:
------------
Installed latest version (XAMPP version: 1.8.1-VC9) on Windows 7 64-bit
PC.
When referencing / building Excel data error occured, no excel file
created.

Message stated that memory was not referenced correctly...
root\xampp\php\pear\Spreadsheet\Excel\Writer\Worksheet.php - line 2490.
// this code:
// $this->_append(&$string, true);
// becomes:
$this->_append($string, true);

Test script:
---------------
$data = array ( array ( "City" => "Seattle",
    "Jan" => 46, "Feb" => 50, "Mar" => 53, "Apr" => 58,
    "May" => 64, "Jun" => 70, "Jul" => 75, "Aug" => 76,
    "Sep" => 70, "Oct" => 60, "Nov" => 51, "Dec" => 46 )
);
$this->generate_excel_sheet($data, 'atest');

Expected result:
----------------
Excel document is created. With data within it. Prior to putting my code
change into Worksheet.php the script continues to fail. No Excel
document is produced.


Actual result:
--------------
not available

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19971&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.