访问特定网站时出现 php 错误

访问特定网站时出现 php 错误

我尝试登录 sitejot,但出现错误

Fatal error: Maximum execution time of 50 seconds exceeded
 in /home/sitejot/public_html/login.php on line 23
  • 它只发生在一台电脑上,我家里的所有其他电脑都没有遇到此错误
  • 无论是 IE、Firefox 还是 Chrome,每次都会发生这种情况
  • 我可以将电脑移到另一个路由器后面,但错误仍然存​​在
  • 这是特定于此网页的问题,同一网站中的其他网页都没有问题,而且我对其他网页也没有任何问题
  • 谷歌搜索“严重错误:超出最大执行时间 50 秒”会返回大量结果,因此这似乎是一个常见问题
  • 我已经将电脑升级到 Windows 7,但没有任何改善

这里是POST 请求

POST /login.php HTTP/1.1 
Accept: application/x-ms-application, image/gif, application/xaml+xml, 
  application/x-ms-xbap, image/x-xbitmap, image/jpeg, image/pjpeg, 
  application/x-shockwave-flash, application/vnd.ms-xpsdocument, */*
Referer: http://www.sitejot.com/
Accept-Language: en-CA User-Agent:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2;
  .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; 
  Media Center PC 6.0; Media Center PC 5.0; SLCC1) 
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate 
Host: www.sitejot.com 
Content-Length: 55
Connection: Keep-Alive 
Pragma: no-cache

没有响应,最终超时。以下是响应头

HTTP/1.1 200 OK
Date: Thu, 10 Dec 2009 05:15:51 GMT
Server: Apache/2.0.61 (Unix) mod_ssl/2.0.61 
   OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 PHP/5.2.5
X-Powered-By: PHP/5.2.5
Set-Cookie: sj_user=
Set-Cookie: sj_pw=
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 144
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: text/html

我可以尝试什么来解决这个问题?

答案1

这是网站本身的问题。看来他们的代码写得不好。特别是登录脚本。

这可能是一个永无止境的循环、他们无法访问的资源或任何其他东西。

这不是你的错,除非你将想要登录他们的网站视为用户错误。

无论哪种方式,它都被本地化到他们的网站和此页面。

答案2

《八天》说得对,这是网站本身的问题。

您应该联系网站的所有者/支持人员并告知他们该问题。向他们提交错误报告。他们可能需要您提供有关发生故障的机器与正常运行的机器的配置的信息。

相关内容