FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=9670&edit=1

ID: 9670
Comment by: cfpsolutions
Reported By: webmaster at cfp dot co dot uk
Summary: Notice: ob_end_clean(): failed to delete buffer
Status: Closed
Type: Bug
Package: HTTP_Download
Operating System: Any
Package Version: CVS
PHP Version: 5.2.0
Assigned To: mike
New Comment:

I still get this error.

* @version CVS: $Id: Download.php 304423 2010-10-15 13:36:46Z
clockwerx $

applying klodoma's patch fixed it.


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

[2007-04-19 08:06:43] klodoma

I am using a user error handler and I still get the error.
The final workaround for me was:
line: 656->658 (the if ())
while (ob_get_level() > 0){
ob_end_clean();
}.

This erases also all output buffers without generating the last error
that was supressed by @

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

[2007-04-19 04:26:41] klodoma

Line: 657
The if condition should not be the following???

if (ob_get_level() > 0) {
while (@ob_end_clean());
}

With the version from 2007.02 I still get get the error.

And I think that ob_end_clean() should be executed only if ob_get_level
is bigger than 0. ob_get_level returns an integer.

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

[2007-02-20 05:11:07] mike

This bug has been fixed in CVS.

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.

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

[2007-01-18 06:01:29] troehr

I have created a PHP5 test script to demonstrate the error:
http://phpfi.com/194729

Please save the code into a .php file, run it in a browser, save the
prompted file (the script itself). Then take a look at the created
errors.txt (must have write permissions).

Thanks, Torsten Roehr

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

[2007-01-14 09:19:01] troehr

It is NOT if you use a custom error handler! Would you like me to create
a sample script?

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

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=9670

Search Discussions

  • Helgith at Mar 24, 2011 at 1:32 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=9670&edit=1

    ID: 9670
    Updated by: helgith@gmail.com
    Reported By: troehr at php dot net
    Summary: Notice: ob_end_clean(): failed to delete buffer
    -Status: Closed
    +Status: Open
    Type: Bug
    Package: HTTP_Download
    Operating System: Any
    Package Version: CVS
    PHP Version: 5.2.0
    Assigned To: mike
    Roadmap Versions:
    New Comment:

    -Status: Closed
    +Status: Open



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

    [2011-03-24 13:52:35] cfpsolutions

    I still get this error.

    * @version CVS: $Id: Download.php 304423 2010-10-15 13:36:46Z
    clockwerx $

    applying klodoma's patch fixed it.

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

    [2007-04-19 08:06:43] klodoma

    I am using a user error handler and I still get the error.
    The final workaround for me was:
    line: 656->658 (the if ())
    while (ob_get_level() > 0){
    ob_end_clean();
    }.

    This erases also all output buffers without generating the last error
    that was supressed by @

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

    [2007-04-19 04:26:41] klodoma

    Line: 657
    The if condition should not be the following???

    if (ob_get_level() > 0) {
    while (@ob_end_clean());
    }

    With the version from 2007.02 I still get get the error.

    And I think that ob_end_clean() should be executed only if ob_get_level
    is bigger than 0. ob_get_level returns an integer.

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

    [2007-02-20 05:11:07] mike

    This bug has been fixed in CVS.

    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.

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

    [2007-01-18 06:01:29] troehr

    I have created a PHP5 test script to demonstrate the error:
    http://phpfi.com/194729

    Please save the code into a .php file, run it in a browser, save the
    prompted file (the script itself). Then take a look at the created
    errors.txt (must have write permissions).

    Thanks, Torsten Roehr

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

    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=9670

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 24, '11 at 12:51p
activeMar 24, '11 at 1:32p
posts2
users2
websitepear.php.net

2 users in discussion

Helgith: 1 post Cfpsolutions: 1 post

People

Translate

site design / logo © 2022 Grokbase