[wp-trac] [WordPress Trac] #10638: Wordpress would randomly fail, because of server configuration
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 18 14:17:06 UTC 2009
#10638: Wordpress would randomly fail, because of server configuration
--------------------------+-------------------------------------------------
Reporter: kiprasm | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8.5
Component: General | Version: 2.8.1
Severity: critical | Keywords: implicit_flush,random failures
--------------------------+-------------------------------------------------
Comment(by kiprasm):
Replying to [comment:2 filosofo]:
> Also, WordPress has a callback {{{wp_ob_end_flush_all()}}} attached to
shutdown, so everything should already be getting flushed.
I've tried to put ob_flush() and flush() and them both manually at the end
of scripts, and that wouldn't help. That is probably why
wp_ob_end_flush_all() didn't work either, as i see it uses ob_end_flush().
The one other thing that worked for me tho, is this sequence:
ob_end_flush(); ob_flush(); flush(); ob_start();
When i put that at the end of wp scripts, it would also work, and this was
my first working solution, which i later replaced with the two lines in
wp-config.php, when i saw that they work too.
Also, it might be that something is wrong with my server, since as you
said a number of sites work with this configuration. Still this way it
works for me, might also work for some other people out there..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10638#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list