WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Moved to new server, WP-Super-Cache now showing blank p (4 posts)

  1. richcon
    Member
    Posted 5 years ago #

    I just moved one of my web sites to a new server. Everything works perfectly, except for WP-Super-Cache: with it, every page request (including the back end) is coming back blank. On our old server, everything worked perfectly.

    I narrowed the problem down to the "define('WP_CACHE', true);" declaration in wp-content.php. With that line there (which WP-Super-Cache inserts automatically), every single request returns a blank page, the same kind you get when there's a PHP syntax error somewhere. With the line commented out, everything returns to normal (except WP-Super-Cache doesn't work, of course).

    The wp-content folder *is* writable, and I've tested that. I've also deactivated the plugin, reactivated it, cleared the cache, even have "WP Super Cache Status" status set to "Off" and the problem still persists.

    The server migration was simple: copy the entire wordpress folder and database to the new server, and adjust the wp-config file.

    This server is running MySQL 4.0.x and PHP 5.1.x.

    Any ideas?

    Thanks!
    Rich

  2. richcon
    Member
    Posted 5 years ago #

    To be clear, for the symptom (all pages blank) to appear, *both* the following are true:

    1. WP-Super-Cache plugin is activated
    2. "define('WP_CACHE', true);" present in wp-config.php

    (WP-Super-Cache's status can be set to on or off, that doesn't matter.)

  3. richcon
    Member
    Posted 5 years ago #

    Okay... after wrestling with it for a while, it... suddenly...

    ...somehow fixed itself. No idea what happened, just that everything's working now.

    I hate it when it does that. Hopefully the problem doesn't come back!

  4. Donncha O Caoimh
    Member
    Posted 5 years ago #

    It was probably the path in wp-content/advanced-cache.php

Topic Closed

This topic has been closed to new replies.

About this Topic