0

嗨,当我评估 wordpress CMS 的管理面板时,它给了我们一个错误:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@planetofcoders.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

刷新页面后,它将被解决。我想知道为什么会出现这个错误以及如何解决这个错误......

4

2 回答 2

2

正如 Cori 所说,您需要查阅您的日志才能具体了解。话虽如此,间歇性的问题确实缩小了一些范围。按照可能性的顺序,我敢打赌你的问题是:

  • 交通。你的博客有多受欢迎?你正在经历成长吗?浏览量等于服务器负载,而服务器负载在很多情况下会导致 500 错误,尤其是在高峰期。如果您知道您的流量正在增加,请与您的网络主机商联系 - 如有必要,请制定更强大的计划。

  • 插件。与上述相关,如果您最近添加了一个插件,它可能有问题,要么是因为它偶尔会执行一项使服务器崩溃的任务,要么是因为它增加了每次查看的服务器负载并使您的站点对流量更加敏感。尝试禁用任何最近添加的插件并等待问题再次出现。

  • 共享服务器负载。如果您采用共享托管计划 - 与许多博客一样 - 在同一台机器上加载不同的站点,因为您可以为您的停机时间做出贡献。

结果:与您的主机交谈,然后在必要时阅读有关 WordPress 优化的常见问题解答。

于 2012-08-09T14:03:47.527 回答
1

如评论中所述,您需要检查日志以了解发生了什么。

从错误消息来看,您网站的主机似乎已将您的网站配置为使用 Apache 遇到问题的自定义ErrorDocument,并且 apache 错误日志应该有助于找出发生了什么。

有许多不同的间歇性错误可能会导致您出现问题。数据库连接是一种典型的连接。

于 2012-08-09T13:33:58.660 回答