[PEAR-BUG] Bug #19773 [Com]: Fatal Error

[email protected] ("illustrationism") Tue, 18 Apr 2017 12:21:09 -0400 (EDT)
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=19773&edit=1

 ID:               19773
 Comment by:       illustrationism
 Reported By:      illustrationism at gmail dot com
 Summary:          Fatal Error
 Status:           Closed
 Type:             Bug
 Package:          Spreadsheet_Excel_Writer
 Operating System: CentOS 5
 Package Version:  0.9.3
 PHP Version:      5.4.8
 Assigned To:      sanmai
 New Comment:

This is still broken in PHP 5.6 and due to support for CentOS5 being
discontinued, many servers are being upgraded, with the minimum PHP
version being 5.6. We are being creative to fix the problem on all our
environments, but this will continue to be an increasing problem for
lots of people as older versions of PHP get sunsetted.


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

[2016-06-20 22:50:53] sanmai

<div id="changeset">
<span class="removed">-Status:      Open</span>
<span class="added">+Status:      Closed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: sanmai</span>
</div>This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Fixed in the master.

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

[2016-06-03 05:10:48] borsti92

How to solve this problem?

The patch still not ready. How to apply the patch from Laurent Courtin

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

[2015-03-31 01:13:18] nugrul

Since there is no still no patch, this is my lightweight composer patch,
that works on Unix-like only, due to the "sed" dependency

  "scripts": {
    "post-install-cmd" : [
      "sed -i '2490s/&$string/$header.$data/'
vendor/pear-pear.php.net/Spreadsheet_Excel_Writer/Spreadsheet/Excel/Writer/Worksheet.php"
    ]
  }

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

[2015-02-24 15:40:45] harry12singh

Added #patch
bug:19773;patch:fix-call-time_pass-by-reference;revision:1424792445;.

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

[2014-02-10 07:06:02] roncemer

Instead of a patch, why not release a new version of this package to the
PEAR repo?

I can tell you that there are probably a TON of people using this
package, and if it suddenly break (we're talking ALL kinds of websites)
upon PHP upgrade (which happens automatically in many environments), it
will be a disaster.  An unnecessary disaster, easily prevented by the
Spreadsheet_Excel_Writer pushing out a new release with the patch
applied.

It's just the right thing to do.  Let's get it done and move on.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=19773

-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=19773&edit=1