这是什么意思?“通知:ob_flush()[ref.outcontrol]:无法刷新缓冲区zlib输出压缩" [英] What does this mean? "Notice: ob_flush() [ref.outcontrol]: failed to flush buffer zlib output compression"
本文介绍了这是什么意思?“通知:ob_flush()[ref.outcontrol]:无法刷新缓冲区zlib输出压缩"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
运行以下函数后出现此错误:
I got this error after running the following function:
function send_buffer(){
ob_end_flush();
ob_flush();
flush();
ob_start();
}
我的网站主体需要花费几秒钟来加载,因此我想先发送标头.但是我收到以下错误: Notice:ob_flush()[ref.outcontrol]:无法刷新缓冲区zlib输出压缩
The main body of my website takes a few seconds to load, so I want to send the header first. But I got the following error: Notice: ob_flush() [ref.outcontrol]: failed to flush buffer zlib output compression
推荐答案
您不能同时使用gzip/zlib压缩和刷新.
You can't use gzip/zlib compression as well as flush.
选择一个或另一个.我建议使用gzip而不是冲洗.
Pick one or the other. I'd recommend gzip rather than flush.
这篇关于这是什么意思?“通知:ob_flush()[ref.outcontrol]:无法刷新缓冲区zlib输出压缩"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文