一:一般這種錯(cuò)誤多數(shù)是程序問題,請(qǐng)點(diǎn)擊瀏覽器菜單欄的工具-》internet選項(xiàng)-》高級(jí)-》把滾動(dòng)條拉到最下面 有個(gè)"顯示友好HTTP錯(cuò)誤信息",去掉前面的勾,點(diǎn)確定,然后刷新你的網(wǎng)頁(yè)就能給出具體錯(cuò)誤提示了,根據(jù)錯(cuò)誤提示對(duì)文件修改了。
二:如果是報(bào)以下錯(cuò)的話: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.
。這個(gè)情況一般是為偽靜態(tài)規(guī)則寫的不規(guī)范造成的,檢查空間下是否有.htaccess規(guī)則,檢查是否正確。不正確修改為正確的,或刪除或更改這個(gè)文件名即可解決。
三:論壇出現(xiàn)500報(bào)錯(cuò),Discuz! 7.2及以前版本按如下辦法試下
1:打開報(bào)錯(cuò)提示,進(jìn)入論壇include下編輯common.inc.php文件,找到error_reporting(0);這個(gè)(就在這個(gè)文件的開頭)改為error_reporting(7);保存更新緩存刷新頁(yè)面一般就有具體的哪個(gè)文件有錯(cuò),然后對(duì)癥下藥了---一般這種情況就是用默認(rèn)的文件覆蓋就ok了。
2:一般論壇的報(bào)錯(cuò)誤如果是程序問題方法一可以找到具體的哪個(gè)文件出錯(cuò),還有中可能是其實(shí)文件都沒錯(cuò),那么這個(gè)時(shí)候就更新下緩存即可。進(jìn)入論壇目錄下forumdata/下,刪除cache/*,templates/*,threadcaches/* 的文件。注意是里面的文件不是這些文件夾的哦。
Discuz! X 打開報(bào)錯(cuò)調(diào)試的方法
進(jìn)入./source/class/class_core.php
編輯 error_reporting(0); 為error_reporting(7);
保存退出即可
新聞熱點(diǎn)
疑難解答
圖片精選