错误 324(网络::ERR_EMPTY_RESPONSE)

Error 324 (net::ERR_EMPTY_RESPONSE)(错误 324(网络::ERR_EMPTY_RESPONSE))
本文介绍了错误 324(网络::ERR_EMPTY_RESPONSE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我们的许多网站,我现在每天都经常面临上述问题.这些网站大约一个月前正常工作,但突然间有 10 多个网站不仅在 crome 中而且在其他浏览器中也出现此错误(不一样但相关).

I am facing the above problem frequently now a days for many of our sites.These were working properly about one month ago but suddenly more than 10 sites are giving this error not only in crome but in other browser also(not same but related).

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

所有站点都托管在同一台服务器和 joomla 中.当我尝试调试时,我发现问题可能出在下面的代码中,但不确定..

All sites are hosted in the same server and in joomla.When I tried to debug I found that maybe the preblem is in the below code but not sure..

modMainMenuHelper::render($params, 'modMainMenuXMLCallback');
//render function
function render(&$params, $callback){
//function body
}

如果我在 modMainMenuHelper::render($params, 'modMainMenuXMLCallback'); 上面回显任何内容,输出回声.但在 function render(&$params, $callback){ 上面的错误来了.我想问一下问题是否真的在上面的代码中而不是如何解决这个问题或任何其他可以解决这个问题的建议谢谢.

If I echo anything above modMainMenuHelper::render($params, 'modMainMenuXMLCallback'); the output echo.But below function render(&$params, $callback){ the above error comes.I wanted to ask if the problem is really in the above code than how to resolve this or any other suggestions that can solve this problem Thanks.

推荐答案

就我而言,我通过禁用 APC 模块解决了问题.因为它导致了分段错误.每当我更新上述文件而不是代码时网站开始正常运行.我希望这可以帮助其他人.

In my case I have solved the problem by disabling the APC module.Because it was causing the segmention fault.And whenever I updated the above file not the code the site started working properly.I hope this may help someone else.

这篇关于错误 324(网络::ERR_EMPTY_RESPONSE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Convert JSON integers and floats to strings(将JSON整数和浮点数转换为字符串)
in php how do I use preg replace to turn a url into a tinyurl(在php中,如何使用preg替换将URL转换为TinyURL)
all day appointment for ics calendar file wont work(ICS日历文件的全天约会不起作用)
trim function is giving unexpected values php(Trim函数提供了意外的值php)
Basic PDO connection to MySQL(到MySQL的基本PDO连接)
PHP number_format returns 1.00(Php number_Format返回1.00)