Skip to main content
 首页 » 编程设计

jquery之Codeigniter 中的 ERR_EMPTY_RESPONSE

2026年07月28日6haluo1

当我尝试访问我的网站时,它显示一个错误

This Page Isn't Working 
 
www.abcdef.com didn't send any data 
 
ERR_EMPTY_RESPONSE

并显示此错误几秒钟,它将重定向到原始页面。

在 Google Chrome 控制台中显示以下错误

POST https://www.abcde.com/Is_here/1542792525 net::ERR_EMPTY_RESPONSE 
 
net::ERR_EMPTY_RESPONSE 
send @ jquery.js:9566 
ajax @ jquery.js:9173 
jQuery.(anonymous function) @ jquery.js:9322 
(anonymous) @ place:2255 
setInterval (async) 
(anonymous) @ place:2253

发生错误的代码是

setInterval(function(){  
var c = "<?= TIME() ?>"; 
  $.post("<?= base_url() ?>Is_here/"+c,{a:"<?= $this->uri->segment(4) ?>",b:c,e:"<?= $this->uri->segment(5) ?>"},function(l_i){ 
			   
		  }); 
	  },10000);

请您参考如下方法:

err_empty_response 不是来自框架或网站脚本的错误。

清除浏览器缓存或重置浏览器,然后重新启动服务器。