• My shared hosting had to move my account to another server. After the move was complete my WordPress showed nothing but blank pages.

    The cause: The file /wp-content/advanced-cache.php which has nothing but the following code in it:

    <?php
    # WP SUPER CACHE 0.8.9.1
    require_once( ‘/home/.servername/username/example.com/wp-content/plugins/wp-super-cache/’ . ‘wp-cache-phase1.php’ );
    ?>

    On the new server where my hoster (DreamHost) moved me to the “.server” directory doesn’t exist anymore, so the path is invalid. Removing “.server” in the line of code fixed the entire issue.

    Apparently this is the only file in my entire Worpress setup which is using a hardcoded path. I hope this can be fixed in future versions so other users won’t have to figure out what’s going on. WordPress isn’t very helpful with the blank pages even when you turn error reporting on :(.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WP Super Cache:Hardcoded path in advanced-cache.php (blank pages on server move)’ is closed to new replies.