• Resolved criself

    (@criself)


    I consistently see the following message when I log into the WordPress admin dashboard:

    Warning! WP Super Cache caching was broken but has been fixed! The script advanced-cache.php could not load wp-cache-phase1.php.

    The file E:\placeholder1\placeholder2/wp-content/advanced-cache.php has been recreated and WPCACHEHOME fixed in your wp-config.php. Reload to hide this message.

    The “placeholder1\placeholder2” is the path to the WordPress installation and this is running on Microsoft IIS (thus the E:\ pathing).

    I refresh the dashboard and the message goes away but it does come back though I haven’t established a pattern to when it will return other than logging in again later. If I load the home page of the site, I do see the message at the end of the source:

    <!-- Dynamic page generated in 1.221 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2024-12-02 17:13:00 -->

    <!-- Compression = gzip -->

    so I know the plugin is doing something. The cache tester on the WP Super Cache settings page reports that it’s working, and the “Contents” tab of the settings page does list cached and super-cached files.

    Is this message appearing repeatedly indicative of something truly wrong or a red herring that can be ignored?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hi @criself ,

    Thanks for raising this issue. I have flagged this to our development team to check if there are special considerations you need to take when working with Microsoft IIS. I will get back to you as soon as I get an update from the team.

    In the meantime, I would encourage you to experiment with the caching features on our Jetpack Boost plugin, which is developed by the same team behind WP Super Cache: https://jetpack.com/support/jetpack-boost/caching-site-content/.

    Best,

    Could you make sure that “WPCACHEHOME” is defined in your wp-config.php please? Do you have any process that updates the wp-config.php on a regular basis?

    The advanced-cache.php file that the plugin is recreating is created in wp-content/ and if it’s being deleted by something on your system it needs to be recreated, and it shows this warning. Maybe you have a security system that deletes “unknown” files?

    Unfortunately, we don’t have any Windows machines running IIS to test the plugin on as it’s so uncommon, compared to Unix servers, so we can’t offer any advice WRT server settings that might help.

    Thread Starter criself

    (@criself)

    I don’t think there are other processes modifying the wp-config.php.

    I have a WP_CACHE variable set to true but not WPCACHEHOME. I see the troubleshooting states:

    make sure WPCACHEHOME points at the right place.

    But I don’t know what the “right place” should be. Should it be ./wp-content/cache?

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hi @criself ,

    The WPCACHEHOME should point to the directory where the WP Super Cache plugin is located. Typically, this would be the full path to wp-content/plugins/wp-super-cache/. Ensure that this path is correctly set in your wp-config.php file.

    We have a related discussion on a separate thread here you can refer to, but feel free to reply to this thread if you need further assistance.

    Thank you!

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @criself,

    I trust you’re all set, so I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.