Magento的网站突然有“未收到数据”错误code:ERR_EMPTY_RESPONSE [英] Magento website suddenly has 'No data received' Error code: ERR_EMPTY_RESPONSE

查看:440
本文介绍了Magento的网站突然有“未收到数据”错误code:ERR_EMPTY_RESPONSE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个电子商务网站的最后几天似乎有些非常重要的页面根本就没有装!Magento的运行

We have Magento running on an eCommerce website an the last few days it seems that some really important pages are simply not loading!

在pageson网站负载罚款但如果用户登录,他们尝试访问购物车结账页面,多数是迄今为止最重要的一页,他们收到的图像下面显示这个很讨厌的短信..

Majority of the pageson the site load fine however if a user is "logged in" and they try to access the cart checkout page, by far the most important page, they receive this very nasty message shown below in the image...

据我知道,code没有改变已作出的最后几天,所以我甚至不知道在哪里看在这一点上寻求解决方案。

As far as I know, no changes to code have been made the last few days so I do not even know where to look at this point for a solution.

一个谷歌搜索显示,很多人收到过这样的问题,主要是字preSS站点,但永远不会有贴是一个解决方案!

A Google search shows that many people had had this problem before, mostly on WOrdPress sites but there never is a solution posted!

我希望有人能为我们指出了正确的方向,因为这是在本网站的一大难题,现在如果用户无法检出。

I am hoping someone can point us in the right direction as this is a major problem on this site right now if a user cannot checkout.

这是我注意到它正在发生中的其他页面是创建一个新的用户帐户,一旦您填写表格并点击提交页面,它显示的图像显示以及页面。

The other page that i noticed it is happening on is the page to create a new user account, once you fill the form out and hit submit, it shows the page shown in image as well.

我们都在Ubuntu 12运行Apache相信。我们也有清漆缓存如果这意味着什么。

We are running Apache on Ubuntu 12 believe. We also have Varnish Cache if that means anything.

请帮帮忙!

另外这里是我得到相同的页面在FireFox ...

Also here is what I get for the same page in FireFox...

推荐答案

正如其他人所说,尽量冲洗的 APC 欧普code缓存。

As mentioned by others, try flushing the APC Opcode cache.

您可以做到这一点通过添加以下行到你的的Magento / index.php文件的就在文件中的清除缓存

You can do that by adding the following lines to your magento/index.php right at the top of the file to clear the cache

apc_clear_cache();
apc_clear_cache('user');

警告

由于这一问题的原因之一可能是一个损坏的运算code缓存,你应该只使用曾经(页面添加code,然后调用)和评论它明算账,否则你不会有由APC任何性能的提升,甚至是一个降低性能作为缓存将充满每个页面调用。

As one cause of the problem can be a corrupted Opcode cache you should only use this once (add the code, then call the page) and comment it out afterwards, otherwise you won't have any performance improvements by the APC, maybe even a degrading performance as the cache will be filled with every page call.

所以,添加code,调用页面,然后注释code OUT。 (如果它不工作,把它注释掉并寻找另一种解决方案,不留在index.php的code)

So, add the code, call the page, then comment the code out. (if it didn't work, comment it out and search for another solution, DON'T leave the code in the index.php)

这篇关于Magento的网站突然有“未收到数据”错误code:ERR_EMPTY_RESPONSE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆