一:一般這種錯誤多數是程式問題,請點選瀏覽器選單欄的工具-》 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);
儲存退出即可