YayMyLife.com is my first Rails site. I am using Apache/2.2.8 (Ubuntu) Phusion_Passenger/2.2.2 .
YayMyLife.com是我的第一个Rails网站。我正在使用Apache / 2.2.8(Ubuntu)Phusion_Passenger / 2.2.2。
The site works fine on Linux/Mac/Phones. However, it does not load on any browser on XP. This behavior is also found on other XP machines. The browser seems to wait for more content and it times out. I have checked headers with Live HTTPHeaders (the headers look okey) and also flushed DNS cache on XP box.
该网站在Linux / Mac / Phones上运行良好。但是,它不会加载到XP上的任何浏览器。在其他XP计算机上也可以找到此行为。浏览器似乎在等待更多内容并且超时。我已经检查了带有Live HTTPHeaders的标题(标题看起来很好),并且还在XP框上刷新了DNS缓存。
Can you please help me fix the problem?
你能帮我解决一下这个问题吗?
4 个解决方案
#1
Are you sure it doesn't work? I just tried it using IE7 and Firefox 3 within one of my Windows XP virtual machines and the site loads fine. I get a JavaScript error in IE but not in Firefox.
你确定它不起作用吗?我只是在我的一个Windows XP虚拟机中使用IE7和Firefox 3进行了尝试,并且网站加载正常。我在IE中遇到JavaScript错误,但在Firefox中没有。
#2
I got browser shots for those who are interested in solving this case: http://browsershots.org/http://www.yaymylife.com/
我为那些有兴趣解决这个案例的人提供了浏览器镜头:http://browsershots.org/http://www.yaymylife.com/
#3
This gentleman was on #rubyonrails previously and asked the same question, with little feedback
这位先生以前曾在#rubyonrails上问过同样的问题,反馈很少
What is the error that you are getting? If you look at all the browsers, they haven't finished loading ... could it be excessive load on the server?
你得到的错误是什么?如果你看看所有的浏览器,他们还没有完成加载...它可能是服务器上的过度负载?
Have you tried getting a Windows machine and trying to test it? If so, what is the error (with screenshot and/or stack trace from your log).
您是否尝试过使用Windows计算机并尝试对其进行测试?如果是这样,那么错误是什么(从日志中截取屏幕截图和/或堆栈跟踪)。
If it was a problem with rails, it would not load on any browser, if it was a css problem it would give you crap on the screen.
如果它是rails的问题,它将不会加载任何浏览器,如果它是一个CSS问题,它会给你在屏幕上的废话。
This looks to be an excessive load problem and something that you should try and address by looking at the web server end at the amount of time it takes to load the page and whether you need some sort of template caching or to improve the performance of DB queries that are running.
这看起来是一个过度负载问题,您应该通过在加载页面所需的时间内查看Web服务器端以及是否需要某种模板缓存或提高DB的性能来尝试解决这个问题。正在运行的查询。
#4
I started using Mongrel instead of Passenger and this problem is fixed. Thanks to everybody who took interest; esp. Omar Qureshi
我开始使用Mongrel而不是Passenger,这个问题已修复。感谢所有感兴趣的人; ESP。奥马尔库雷希
#1
Are you sure it doesn't work? I just tried it using IE7 and Firefox 3 within one of my Windows XP virtual machines and the site loads fine. I get a JavaScript error in IE but not in Firefox.
你确定它不起作用吗?我只是在我的一个Windows XP虚拟机中使用IE7和Firefox 3进行了尝试,并且网站加载正常。我在IE中遇到JavaScript错误,但在Firefox中没有。
#2
I got browser shots for those who are interested in solving this case: http://browsershots.org/http://www.yaymylife.com/
我为那些有兴趣解决这个案例的人提供了浏览器镜头:http://browsershots.org/http://www.yaymylife.com/
#3
This gentleman was on #rubyonrails previously and asked the same question, with little feedback
这位先生以前曾在#rubyonrails上问过同样的问题,反馈很少
What is the error that you are getting? If you look at all the browsers, they haven't finished loading ... could it be excessive load on the server?
你得到的错误是什么?如果你看看所有的浏览器,他们还没有完成加载...它可能是服务器上的过度负载?
Have you tried getting a Windows machine and trying to test it? If so, what is the error (with screenshot and/or stack trace from your log).
您是否尝试过使用Windows计算机并尝试对其进行测试?如果是这样,那么错误是什么(从日志中截取屏幕截图和/或堆栈跟踪)。
If it was a problem with rails, it would not load on any browser, if it was a css problem it would give you crap on the screen.
如果它是rails的问题,它将不会加载任何浏览器,如果它是一个CSS问题,它会给你在屏幕上的废话。
This looks to be an excessive load problem and something that you should try and address by looking at the web server end at the amount of time it takes to load the page and whether you need some sort of template caching or to improve the performance of DB queries that are running.
这看起来是一个过度负载问题,您应该通过在加载页面所需的时间内查看Web服务器端以及是否需要某种模板缓存或提高DB的性能来尝试解决这个问题。正在运行的查询。
#4
I started using Mongrel instead of Passenger and this problem is fixed. Thanks to everybody who took interest; esp. Omar Qureshi
我开始使用Mongrel而不是Passenger,这个问题已修复。感谢所有感兴趣的人; ESP。奥马尔库雷希