Support » Plugin: WP Super Cache » WP Super Cache – Many unlink and rename PHP warnings – also test fails

  • 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.
    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
    [Thu Nov 15 13:51:03 2012] [error] [client] PHP Warning:  unlink(/myblog/wproot/wp-content/cache/blogs/ No such file or directory in /myblog/wproot/wp-content/plugins/wp-sup
    er-cache/wp-cache-phase2.php on line 608, referer:

    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.


Viewing 4 replies - 1 through 4 (of 4 total)
  • i am having the exact same problems.

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

    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..

    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.

    @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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Super Cache – Many unlink and rename PHP warnings – also test fails’ is closed to new replies.