一:一般這種錯誤多數是程序問題,請點擊瀏覽器菜單欄的工具-》 internet 選項-》 高級-》 把滾動條拉到最下面 有個"顯示友好 HTTP 錯誤信息", 去掉前面的勾,點確定,然後刷新你的網頁就能給出具體錯誤提示了,根據錯誤提示對文件修改了。

二:如果是報以下錯的話:Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request
Please contact the server administrator, [no address given] 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.
。這個情況一般是為偽靜態規則寫的不規範造成的,檢查空間下是否有.htaccess 規則,檢查是否正確。不正確修改為正確的,或刪除或更改這個文件名即可解決。

三:論壇出現 500 報錯,Discuz! 7.2 及以前版本按如下辦法試下
1:打開報錯提示,進入論壇 include 下編輯 common.inc.php 文件,找到 error_reporting(0); 這個 (就在這個文件的開頭) 改為 error_reporting(7); 保存更新緩存刷新頁面一般就有具體的哪個文件有錯,然後對症下藥了---一般這種情況就是用默認的文件覆蓋就 ok 了。
2:一般論壇的報錯誤如果是程序問題方法一可以找到具體的哪個文件出錯,還有中可能是其實文件都沒錯,那麼這個時候就更新下緩存即可。進入論壇目錄下 forumdata/下,刪除 cache/*,templates/*,threadcaches/* 的文件。注意是裏面的文件不是這些文件夾的哦。

Discuz! X 打開報錯調試的方法
進入./source/class/class_core.php
編輯 error_reporting(0); 為 error_reporting(7);
保存退出即可