WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
WP Super Cache - Many unlink and rename PHP warnings - also test fails (5 posts)

  1. Lemmy
    Member
    Posted 1 year ago #

    When I run the WP Super Cache cache test, it times out. The test files aren't written to the cache folder. (This works OK on my desktop development installation.)
    I'm also getting many many PHP warnings in my log file, about renaming and unlinking of non-existent files, for example:

    PHP Warning:  rename(/myblog/wproot/wp-content/cache/33972161450a4f3476f7165.
    76858782.tmp,/myblog/wproot/wp-content/cache/blogs/myblog.arts.ac.uk/wp-cache-myblog.arts.ac.uk2ff0a19440ccccb159df70beecf1b4df.html):
    No such file or directory in /myblog/wproot/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 605, referer: http://myblog.a
    rts.ac.uk/groups/bigger-picture-2012-13-group-13/
    [Thu Nov 15 13:51:03 2012] [error] [client 10.130.144.57] PHP Warning:  unlink(/myblog/wproot/wp-content/cache/blogs/myblog.arts.ac.uk/
    wp-cache-myblog.arts.ac.uk2ff0a19440ccccb159df70beecf1b4df.html): No such file or directory in /myblog/wproot/wp-content/plugins/wp-sup
    er-cache/wp-cache-phase2.php on line 608, referer: http://myblog.arts.ac.uk/groups/bigger-picture-2012-13-group-13/

    I am however, seeing some cache files being written to folders in the cache/blogs and cache/supercache folders.
    I have suppressed the PHP warnings for the moment, but I'm concerned that the caching may not be working optimally. Any ideas what might be wrong?

    It's multisite WP with Buddypress, using subdomains. All WPSC installation instructions have been followed.

    Thanks.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. kaktusan
    Member
    Posted 1 year ago #

    i am having the exact same problems.

    I am on multisite as well, with subdomains and installation for sure is correct.

  3. kaktusan
    Member
    Posted 1 year ago #

    ok, i think i fixed it.. still monitoring it, but so far no errors..

    in another thread in here i found a possible fix by chmod to 777 the wp-content/cache folder. I did it and so far no issues..

    will post again tomorrow if the fix worked..

  4. smazsyr
    Member
    Posted 1 year ago #

    I've got these clogging my error log as well. All coming from child blogs on a subdomain, multisite environment. The plugin and WordPress are both up to date.

  5. Lemmy
    Member
    Posted 1 year ago #

    @kaktusan - I already had my cache folder set to 777. That wasn't the issue for me.
    I did some work on another plugin that was throwing some Fatal Errors, and the Super Cache plugin seemed to start working more smoothly. The built-in cache test works successfully for example. I've still got error suppression switched on, so I don't know if that's fixed.
    Maybe it's a timing issue triggered by another faulty plugin? The cached file is removed before WPSC gets a chance to do it? I haven't looked into the plugin deeply enough to know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic