duangutang3940 2016-06-21 18:50
浏览 209

Zlib Z_STREAM_ERROR在Apache error_log中缩小数据

Some subpages of my website don't get fully transmitted. Instead the stream just seems to stop. There are a couple of PHP warnings and messages that I think might be irrelevant (such as undefined variables and indexes). Then there is the following error in the error_log file:

[deflate:error] [pid 30608] [client 178.203.20.157:65337] AH01386: Zlib error -2 deflating data ((null)), referer: https://knipsakademie.de/mannheim

I found out that -2 means Z_STREAM_ERROR. But unfortunately I don't really understand what I am dealing with. The server is running Plesk 12.5.30 and PHP 5.6.22 as FPM.

phpinfo() tells me that zlib is enabled and that I have Stream Filters as follows: zlib.inflate, zlib.deflate and a Stream Wrapper setting named compress.zlib://

// this is not from php.ini but from the output of phpinfo()
zlib.output_compression = off
zlib.output_compression_level = -1
zlib.output_handler = [no value]

The strange thing is that this subpage works fine:

https://knipsakademie.de/frankfurt/gutschein

But this one gets the errors and isn't transmitted fully:

https://knipsakademie.de/mannheim/gutschein

The content on these two pages does differ but not the structure of the website itself. The content is pulled from a database. Now I do know that I generally have some kind of character set problem in this website because my JSON_encodes() only work with a workaround and I am kind of neglecting this problem since I don't fully understand how to address it. So I guess my question is: could this deflate issue have anything to do with character sets?

How can I get more information on this issue? Are there other server logfiles that I should look at?

Thanks for your help!!!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 matlab求解平差
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料
    • ¥15 使用R语言marginaleffects包进行边际效应图绘制
    • ¥20 usb设备兼容性问题
    • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
    • ¥15 安装svn网络有问题怎么办
    • ¥15 vue2登录调用后端接口如何实现
    • ¥65 永磁型步进电机PID算法
    • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?