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
如何快速解決 discuz index.php 出現白頁 – unethost無限空間虛擬主機 技術分享部落格

如何快速解決 discuz index.php 出現白頁

這兩天遇到discuz站長求助,
關於論壇首頁出現了白色畫面的狀況

我們這邊提供快速解決方式。

其他discuz的問題,歡迎參考我們之前的文章

需要先排除以下問題,方能快速解決:

1.近期是否有安裝過新的插件?
2.是否有改過版模?
3.空間容量是否暴滿?
4.有沒有改過檔案屬性?
5.其他檔案是否有改過?

如果以上皆否,這樣只要去檢查discuz的快取檔案即可。

 

如何開始?

1.登入ftp。
2.進入 /public_html/forumdata  (public_html 為我們虛擬主機的路逕)。
3.底下有兩個資料夾,分別是 cache 及 templates。

how_to_fix_discuz_index-php_white_page_issue_01

4.通常只要把兩個資料夾先改掉,在重新新增兩個一樣名稱的資料夾,
在回到瀏覽器做F5更新頁面後,論壇就有80%機會恢復正常。

5.如果ucenter可以登入,也可以直接執行”更新緩存”功能,
也會有一樣的效果。

 

我們這一次遇到舊版的discuz,並未使用ucenter,
另一部份,也可以使用discuz tools.php修復,
只是我們自己熟練的步驟,是用第4步來解決最快。

最後還需要注意的是:

6.這個還有php handle的問題,
dso模式,需要將資料夾和檔案改為777才會正常。
fastcgi則為755,檔案就不需要變更。

7.舊的資料夾不要任意砍掉,因為有些版模是直接去改,
最後需要將檔案搬回去,一但砍掉,新的快取檔,
會讓版面秀斗。

 

(本篇教學由unethost.com客服撰寫)

延伸閱讀:如何備份Cpanel後台安裝的套裝程式?

安裝上述的軟體,我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。