• czhannes

    (@czhannes)


    hey,
    i have upgraded WP Super Cache to latest version on my fairly popular blog few days ago and i seem to have some issues with the new version: it works well, but although i have set the garbage collector to 1 hour, it removes only WP-Cache files, but not WP-Super Cache files, which remain there even though they are expired. visitors are not updated with the latest content as the result. someone got any ideas?

Viewing 7 replies - 16 through 22 (of 22 total)
  • islamegy – can you remove the @ signs in front of the unlink() commands in prune_super_cache() in wp-cache-phase2.php please? Then try clearing the cache. Do you see any error messages in your PHP error log?

    islamegy

    (@islamegy)

    donncha,

    I’ll try your fix and let you know the result. Will this fix help in deleting the expired conventional wp-cache files?

    There was not any error messages in the error log when super cache was enabled.

    Thanks

    islamegy

    (@islamegy)

    donncha,

    I’ve tried what you suggested but, unfortunately, nothing changed. Hope there is a fix soon. Thanks!

    You’ll have to help me, use error_log() to record the filename being deleted by prune_super_cache(). See the PHP manual page on that command for usage but it’s easy enough: https://ie.php.net/error_log
    I can’t fix it if I don’t know what’s going wrong.

    islamegy

    (@islamegy)

    I’ll try using error_log() (I hope it’s as easy as you said because I have not used it before) and let you know the outcome.

    Jason Penney

    (@jczorkmid)

    I’m having the same issue. I removed the ‘@’ signs, but didn’t see any messages in my error log.

    When I manually press ‘Delete expired’ it works, and I get the following (numerous times):

    PHP Warning: rmdir(XXX/YYY) [<a href='function.rmdir'>function.rmdir</a>]: Directory not empty in XXX/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 336

    I can throw the error_log calls in. What data do you need logged?

    jczorkmid – can you email the log to donncha at ocaoimh.ie please? That would help I think!

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘[Plugin: WP Super Cache] expired pages not deleting’ is closed to new replies.