如何在Drupal中调试白屏死机(WSOD)?

时间:2014-06-19 15:57:33

标签: drupal drupal-7

我几个月前使用Drupal创建了一个网站,然后我把它交给某人,他告诉我网站已经消失了。所以它恰好是Drupal的死亡白屏。我按照有关在Drupal中处理white screen of death的说明进行操作。不幸的是,该网站仍然无法加载。

这是我按照第一个答案后的“日志”(我也增加了尺寸)。

Starting loading system
Finished loading system
Starting loading system
Finished loading system
Starting loading views_ui
Finished loading views_ui
Starting loading ctools
Finished loading ctools
Starting loading dblog
Finished loading dblog
Starting loading locale
Finished loading locale
Starting loading system
Starting loading block
Finished loading block
Starting loading node
Finished loading node
Starting loading shortcut
Finished loading shortcut
Starting loading system
Finished loading system
Starting loading taxonomy
Finished loading taxonomy
Starting loading translation
Finished loading translation
Starting loading user
Finished loading user
Finished loading system
Starting loading update
Finished loading update
Starting loading comment
Finished loading comment
Starting loading translation
Finished loading translation
Starting loading forum
Finished loading forum
Starting loading comment
Finished loading comment
Starting loading translation
Finished loading translation
Starting loading forum
Finished loading forum
Starting loading contextual
Finished loading contextual
Starting loading field_ui
Finished loading field_ui
Starting loading file
Finished loading file
Starting loading filter
Finished loading filter
Starting loading system
Finished loading system
Starting loading user
Finished loading user
Starting loading dashboard
Finished loading dashboard
Starting loading comment
Finished loading comment
Starting loading dashboard
Finished loading dashboard
Starting loading node
Finished loading node
Starting loading search
Finished loading search
Starting loading views
Finished loading views
Starting loading node
Finished loading node
Starting loading user
Finished loading user
Starting loading views
Finished loading views
Starting loading node
Finished loading node
Starting loading user
Finished loading user
Starting loading views
Finished loading views
Starting loading node
Finished loading node
Starting loading user
Finished loading user
Starting loading views
Finished loading views

开始加载的所有内容都已完成。

我不知道问题是什么。因此,我正在寻找其他方法来了解正在发生的事情。

1 个答案:

答案 0 :(得分:1)

点击错误报告,参阅Drupal - White Screen Of Death了解更多选项以找出问题所在。

这可能会产生额外的错误消息,这有助于更好地了解正在发生的事情。它很可能还会包含一些消息,这些消息将成为实际导致WSOD的指标。

找到导致错误的代码(模块)中的行,并临时注释掉(或删除)该行并检查WSOD是否已解析。如果是这样,请调查您可以选择永久删除这些行,或防止它们导致的错误。