• Resolved belbernard

    (@belbernard)


    After a day or so, some of the articles on my site appear completely white. The only way to restore them is to either delete their cache in the “supercache” folder, or click the “Purge” button to clear all caches.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you checked your PHP error log? Are there any fatal errors showing there?

    Check if the files are cached correctly. Look in wp-content/cache/supercache/ and make sure the cache files in the sub directories have content.

    Enable debugging in the plugin and check what happens if you load a white page. Any error showing there?

    Thread Starter belbernard

    (@belbernard)

    I remember there were cache files in subdirectories.
    I enabled debugging. I will check again subdirectory contents and PHP errors whenever this problem shows up again… Thanks for your suggestions!

    Thread Starter belbernard

    (@belbernard)

    I am facing this white page problem again just now on page:

    https://lebonheurestpossible.org/sensibilite-a-linsuline-cetose-et-vieillissement/

    The content of the subfolder can be downloaded here (and unzipped):

    https://lebonheurestpossible.org/services/sensibilite-a-linsuline-cetose-et-vieillissement.zip

    No error is displayed when I set up debugiing on wp-config.php

    Thread Starter belbernard

    (@belbernard)

    Now, my page is again displayed correctly because its cache has been reconstructed. I stored the two versions of its cache, one named “bad” and the other one “good”. When I compare these files I notice differences. Notably the “bad” version contains code mentioning “mobile”… But I cannot see why it produces a white page nor how it was contructed.

    You can compare these two files contained in the INDEX_FILES folder:

    https://lebonheurestpossible.org/services/INDEX_FILES.zip

    • This reply was modified 7 months, 2 weeks ago by belbernard.
    Thread Starter belbernard

    (@belbernard)

    Now I notice that the only detail in the “bad” version of the cache is a mention of “mobile” class:

    <html lang=”fr-FR” class=”mobile”>

    If I delete “mobile”, the cache “index-https.html” is displayed correctly (on computer). Otherwise it is displayed as a white page.

    How can I prevent WP SuperCache from creating cache files in the “mobile” class?

    Thread Starter belbernard

    (@belbernard)

    I found the solution: enable “Support for mobile devices” in the “advanced” settings. This will create distinct cache files for computers and mobile devices.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘White pages’ is closed to new replies.