Zend Framework

flush doesn't work in JsPush.php

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Zend_ProgressBar
  • Labels:
    None

Description

In the function _outputData, the ob_flush didn't work, I add ob_end_flush(). I do'nt know why it wasn't working but maybe it will be usefull for someone.

ob_end_flush();
ob_flush();
flush();
ob_start();

Activity

Hide
Ben Scholzen added a comment -

Could you please provide a test case where the current flush-method does not work? I'm unable to reproduce it.

Show
Ben Scholzen added a comment - Could you please provide a test case where the current flush-method does not work? I'm unable to reproduce it.
Hide
Yvan Wibaux added a comment -

The problem should come from the configuration of php.ini I think. (output_buffering = On)

Here are more informations in the comments: http://php.net/manual/fr/function.ob-flush.php

Is there a bad consequence of the code I post?
I think it is better to put this one if it is working with more php configuration.

Farf

Show
Yvan Wibaux added a comment - The problem should come from the configuration of php.ini I think. (output_buffering = On) Here are more informations in the comments: http://php.net/manual/fr/function.ob-flush.php Is there a bad consequence of the code I post? I think it is better to put this one if it is working with more php configuration. Farf

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: