• bug in multisite-environment triggered in wp-cache-base.php in line 22:

    $blogcacheid may still contain a slash!

    eg. // $current_blog->path = ‘/blog/users/’

    wp-cache-base.php line 22: $blogcacheid = trim( $current_blog->path, ‘/’ );
    // $blogcacheid = ‘blog/users’

    wp-cache-phase2.php line 35: $key = $blogcacheid . md5( $wp_cache_key );
    // $key = ‘blog/users<md5key>’

    wp-cache-phase2.php line 38: $cache_filename = $file_prefix . $key . ‘.php’
    // $cache_filename = ‘wp-cache-blog/users<md5key>.php’ (!)

    wp-cache-phase2.php line 2221: if ( ! @rename( $tmp_wpcache_filename, $dir . $cache_filename ) )
    // $dir . $cache_filename = <path-to-blog>/wp-content/cache/supercache/<domain>/blog/users/feed/wp-cache-blog/users<md5key>.php where folder ‘wp-cache-blog’ does not exist

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘bug in wp-cache-base.php line 22’ is closed to new replies.