Menu

#382 (ok 2.11.3) Notice: ... failed to flush buffer.

closed-accepted
PHP errors (22)
1
2007-12-08
2007-10-23
Bertrand
No

error :
Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush. in /apache/sites/baliston.fr/myadmin/libraries/ob.lib.php on line 101

file :
ob.lib.php

line : 101

code of origin
if (PMA_outBufferModeGet()) {
ob_flush();
} else {
flush();
}

modified code
if ( ob_get_status() && PMA_outBufferModeGet() ) {
ob_flush();
} else {
flush();
}

By putting the modified code, the error does not appear any more.

Discussion

  • Jürgen Wind

    Jürgen Wind - 2007-10-25

    Logged In: YES
    user_id=1383652
    Originator: NO

    hmm
    today "anebi" on irc reported exactly the same issue (using fedora 6):
    [14:44] <anebi> Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush. in /usr/share/phpMyAdmin/libraries/ob.lib.php on line 101

     
  • Jürgen Wind

    Jürgen Wind - 2007-10-25

    Logged In: YES
    user_id=1383652
    Originator: NO

    the fix worked for <anebi> as well. Thank you Bertrand!

     
  • Marc Delisle

    Marc Delisle - 2007-10-27
    • milestone: 769534 -->
    • labels: 438951 --> PHP errors
     
  • Marc Delisle

    Marc Delisle - 2007-10-27

    Logged In: YES
    user_id=210714
    Originator: NO

    Moved to patches.

     
  • Marc Delisle

    Marc Delisle - 2007-11-01
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2007-11-01

    Logged In: YES
    user_id=210714
    Originator: NO

    Merged in subversion, thanks.

     
  • Marc Delisle

    Marc Delisle - 2007-11-01
    • priority: 5 --> 1
    • summary: Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. --> (ok 2.12.3) Notice: ... failed to flush buffer.
    • status: open --> open-accepted
     
  • Marc Delisle

    Marc Delisle - 2007-11-01
    • summary: (ok 2.12.3) Notice: ... failed to flush buffer. --> (ok 2.11.3) Notice: ... failed to flush buffer.
     
  • Marc Delisle

    Marc Delisle - 2007-12-08
    • status: open-accepted --> closed-accepted