我的服务器间歇性地无法向 Safari 4 提供页面...需要帮助!

发布于 2024-07-25 18:41:07 字数 540 浏览 3 评论 0原文

我刚刚将浏览器升级到 Safari 4,发现我们的网站存在一些特定于该浏览器版本的重大问题。 当我点击我们网站上的页面时,只需点击一两次,浏览器窗口就会变成空白。 当窗口变为空白时,没有可查看的源,无论我尝试重新加载多少次或尝试加载网站的其他页面,我仍然会看到空白窗口。 就好像服务器接受请求并简单地返回一个空白页面。

如果我等待超过 15 秒然后再次点击刷新,页面加载正常。 不知道为什么它再次开始工作......也许是缓存问题???

这是一个 PHP 站点,我尝试打开 error_reporting(E_ALL);,但这没有提供任何信息。 我还尝试在 index.php 文件的最开头放置一条 echo 语句,并验证页面仍然为空白而不回显该语句,所以我认为问题不是特定于 php 代码的。 Apache 错误日志没有显示任何问题。 我的本地开发服务器上有相同的站点,但没有问题。

Safari 4 是唯一显示此问题的浏览器。 有谁知道如何调试/修复这个问题?

我的网络服务器是 ubuntu Hardy,运行 Apache 2 和 Mysql 5。

I just upgraded my browser to Safari 4 and find that our website is having some major issues specific to that browser version. As I click through pages on our site it takes one or two clicks before the browser window simply goes blank. When the window goes blank, there is no source to view and no matter how many times I try to reload or if I try to load other pages of the site, I still get the blank window. It's as if the server takes the request and simply returns a blank page.

If I wait over 15 seconds and then hit refresh again, the page loads fine. Not sure why it starts working again... Maybe a cache issue???

It's a PHP site and I've tried turning on error_reporting(E_ALL);, but that doesn't give any information. I also tried putting an echo statement at the very beginning of the index.php file and verified that the page still goes blank without echoing that statement, so I'm thinking the problem is not php code specific. The Apache error log does not show any issues. I have the same site on my local development server and it doesn't have the problem.

Safari 4 is the only browser that shows this problem. Does anyone have any ideas how to debug/fix this?

My webserver is ubuntu Hardy running Apache 2 an Mysql 5.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

你好,陌生人 2024-08-01 18:41:07

我们在 apache 服务器前面有一个 nginx 负载均衡器,我刚刚发现 Safari 4 需要 nginx keepalive_timeout 设置为 0。花了一整天的时间才弄清楚这个...

We have an nginx load balancer in front of the apache server and I just figured out that Safari 4 requires the nginx keepalive_timeout setting to be 0. Took all day to figure that one out...

下雨或天晴 2024-08-01 18:41:07

我的网站上的 Safari 4 也遇到了同样的问题,但发现重新加载返回空白的页面时,请求甚至从未到达服务器。 Apache 的日志中没有显示任何条目。

LB 的 keepalive 设置听起来像是我可以嗅探的方向。但不确定在共享主机上我会有什么回旋余地。

麦克风

I've been having the same issue with Safari 4 on my site but found that when reloading pages that return blanks, the request never even makes it to the server. No entry shows up in Apache's logs.

The keepalive setting for your LB sounds like a direction I could sniff in. Not sure what leeway I will have though, being on shared hosting.

Mike

蓝天 2024-08-01 18:41:07

这看起来是一个 Safari 错误。 我们也经历过,我也读过其他报道。

http://discussions.apple.com/thread。 jspa?threadID=2064488&start=0&tstart=0

This looks to be a safari bug. We experience it too, and I have read other reports.

http://discussions.apple.com/thread.jspa?threadID=2064488&start=0&tstart=0

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文