Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24
維修 Internal Server Error 500 – unethost無限空間虛擬主機 技術分享部落格

維修 Internal Server Error 500

  甚多的網頁錯誤碼,都會秀出 Internal server error ,如果只是單純用這一段要去除錯,
  可能會 debug的很吃力(得先找出路逕,及查看log檔)。 

installatron今天這一段碼,是出自於我們虛擬主機上的一套半自動安裝程式,所幸在error message 的下方,有出現一段訊息:

/usr/local/cpanel/whostmgr/docroot/installatron/index.cgi

直接將錯誤碼,貼到 google 後,得到一個答案,到 ssh底下執行修復:  /usr/local/installatron/installatron_setup.sh -f release

在重新執行,秀出畫面,並可以使用了。
installatron2

 

所以也可以把除錯,寫成一個很簡單的 sop:

1. 探查 key message。
2. google key message 或是 ticket 給原廠。
3. 修復後,最好在跑一次,確定沒問題。
4. 回報給客戶去使用。