找出导致可怕的“网站遇到意外错误的原因".请稍后再试."信息 [英] finding out what is causing dreaded "The website encountered an unexpected error. Please try again later." message

查看:20
本文介绍了找出导致可怕的“网站遇到意外错误的原因".请稍后再试."信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在进行 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.

网站现在运行良好:)

这篇关于找出导致可怕的“网站遇到意外错误的原因".请稍后再试."信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆