WordPress Caching: WP-Cache Plugin - Blank Page Bug Fix

May 28, 2006 on 11:23 pm | In cache, caching, wordpress |

Last week we wrote a quick how-to on caching with WordPress, by using the WP-Cache 2 plugin. It seems that there is a small bug in the code which may effect some people.

After you install and enable the plugin, if you are getting a blank page when you first go to your site, you need to follow these instructions to fix the bug.

  1. Disable the WP-Cache plugin.
  2. Switch to the “wp-content/plugins/wp-cache” directory.
  3. Make a backup of all the files in this directory.
  4. Open the “wp-cache-phase2.php” file.
  5. Search for “ob_end_clean()“.
  6. Replace it with “ob_end_flush()“.

Now, you should be all set. Go ahead and Enable the WP-Cache plugin, and you should be able to pull up your website.

6 Comments »

RSS feed for comments on this post. TrackBack URI

  1. [...] WordPress Caching: WP-Cache Plugin - Blank Page Bug Fix [...]

    Pingback by Muworm’s Big Brother Blog » Blog Archive » testcase — August 2, 2006 #

  2. [...] If you’re using Wordpress and you’ve turned on WP-Cache and now getting problems with blank pages coming up, check out this page for the solution. It worked for me! Apparently it’s is something to do with some syntax changing between PHP4 and PHP5, which WP-Cache has not accounted for yet, because it was written for PHP4. [...]

    Pingback by Michael Kratz » Problems with WP-Cache and Blank Pages — August 11, 2006 #

  3. I had the same problem. I’ve applied your patch and now it apparently goes fine! Thanks!

    Comment by Juanjo — August 23, 2006 #

  4. [...] By the way, one nice thing about step 6 above is that it also fixes a blank-page bug that some people have run into. [...]

    Pingback by Wordpress Tutorial: Using WP-Cache on Windows / IIS - Unsought Input — October 24, 2006 #

  5. What I want to do on my blog, is every few hours take the oldest post and move it to the
    front of the queue, all automatically. Anyone know if there is a plugin that can do this or
    a simple way to set up another plugin to do this (use my own feed perhaps)?
    Thanks.

    Comment by Saul — December 12, 2006 #

  6. [...] After installing and enabling WP-Cache, you can only see a blank page with IE but all your pages can be seen with firefox, then you have a problem, you have to change the encoding manually to figure it out. (if you cannot see any page with IE or firefox, please check this link). [...]

    Pingback by 徘徊在玻璃之城 » WP-Cache Plugin Bugfix for blank page — February 28, 2007 #

Leave a comment

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

Powered by WordPress with design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^