WP-Cache 的 Blank Page 問題

其實 WP-Cache 在安裝好 Wordpress 2.04 後就已經 Activate 了。可是因為每次啟動 WP-Cache 後,開 Blog 網頁都會出現 Blank Page,必須要在重新 reload 一次才會顯示正常。

一時也不是很清楚這問題要怎麼解決,加上當時還有一堆 Wordpress 的 Theme 和 Plugin 有待研究,所以這問題就一直拖到現在(這段時間沒有啟動 WP-Cache)。剛剛又跑去請 Google 大神指引明燈。大神不虧是大神,馬上就帶領我找到幸福的歸宿……嗯,是問題的解答

原來只要:

  1. 修改 “/wp-content/plugins/wp-cache/wp-cache-phase2.php” 裡的函數 “wp_cache_ob_end”
  2. 把函數裡的這行 “ob_end_clean()”(大約在 219 行前後) 改為這行 “ob_end_flush()”

這樣問題就解決啦!從此以後就可以快樂的啟用 WP-Cache,而不必擔心會出現 Blank Page 啦!

相關文章


Leave a Comment

(required)

(required)

Formatting Your Comment

The following XHTML tags are available for use:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

URLs are automatically converted to hyperlinks.