问题描述
在进行 drupal 6 到 7 升级时,我收到了不太有用的消息网站遇到意外错误.请稍后再试."每次我去某些页面.例如)/admin/config
while doing a drupal 6 to 7 upgrade I am getting the not so helpful message"The website encountered an unexpected error. Please try again later." everytime I go to certain pages.ex) /admin/config
找出导致致命错误的原因以便我可以修复它的最佳方法是什么?
What is the best way to find out what is causing the fatal error so that I can fix it?
我现在能想到的就是开始禁用贡献的模块,直到该页面正常工作或查看日志.
All I can think of right now is to start disabling contributed modules until that page works or looking through the logs.
谢谢.
推荐答案
通过清除 /admin/reports/dblog
中的日志,然后重新加载损坏的页面,当我重新检查时,我可以轻松识别出有问题的模块日志.
By clearing the logs at /admin/reports/dblog
then reloading the broken page I easily could identify the offending module when I rechecked the log.
网站现在工作正常:)
这篇关于找出导致可怕的“网站遇到意外错误"的原因.请稍后再试."信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!