Can you explain to me where this line was missing? That would be a big help. I have:
function wp_cache_get_cookies_values() {
$string = '';
while ($key = key($_COOKIE)) {
if ( preg_match( "/^wp-postpass|^wordpress_|^comment_author_/", $key ) ) {
if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cookie detected: $key", 5 );
$string .= $_COOKIE[ $key ] . ",";
}
next($_COOKIE);
}
reset($_COOKIE);
// If you use this hook, make sure you update your .htaccess rules with the same conditions
$string = do_cacheaction( 'wp_cache_get_cookies_values', $string );
return $string;
}
BTW, how do I debug wp-cache-phase1.php to a file? I see the uncomment to debug requirement but that’s my limit…nothing more shows in the debug file that is referenced on the debug tab.
I get:
10:24:28 /Germany/food/steckerlfisch-oktoberfest-food supercache dir: [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/food/steckerlfisch-oktoberfest-food/
10:24:28 /Germany/food/steckerlfisch-oktoberfest-food No wp-cache file exists. Must generate a new one.
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food In WP Cache Phase 2
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Setting up WordPress actions
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Created output buffer
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Output buffer callback
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Anonymous user detected. Only creating Supercache file.
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Writing non-gzipped buffer to supercache file.
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Renamed temp supercache file to [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/food/steckerlfisch-oktoberfest-food/index.html
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Sending buffer to browser
10:24:29 /Germany/food/steckerlfisch-oktoberfest-food wp_cache_shutdown_callback: collecting meta data.
10:24:33 /Germany/files/2011/05/AJP_3072-300x204.jpg supercache dir: [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/files/2011/05/ajp_3072-300x204.jpg/
10:24:33 /Germany/files/2011/05/AJP_3072-300x204.jpg No wp-cache file exists. Must generate a new one.
10:24:34 /Germany/files/2011/05/AJP_3070-300x204.jpg supercache dir: [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/files/2011/05/ajp_3070-300x204.jpg/
10:24:34 /Germany/files/2011/05/AJP_3070-300x204.jpg No wp-cache file exists. Must generate a new one.