如何追查是什么原因造成的Word preSS错误500? [英] How to trace what is causing WordPress error 500?

查看:411
本文介绍了如何追查是什么原因造成的Word preSS错误500?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

内部错误500是这样一个普遍的错误,并没有在/字preSS / error_log中日志显示出来。有没有办法让那里的崩溃发生的堆栈跟踪?在ASP.NET中它是那么容易,因为堆栈跟踪,code段,和行号都在错误页面显示出来。任何帮助将大大AP preciated。

Internal error 500 is such a general error and nothing shows up in the logs under /wordpress/error_log. Is there a way to get a stack trace of where the crash is occurring? In ASP.NET it is so easy because a stack trace, code snippet, and line number all show up in the error page. Any help would be greatly appreciated.

推荐答案

在PHP错误打开你的php.ini或这条线在你的根目录添加到您的.htacess文件:

Turn on php errors in your php.ini or add this line to your .htacess file in your webroot:

php_flag display_errors on

这篇关于如何追查是什么原因造成的Word preSS错误500?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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