tonny@debug.dk
Forum Replies Created
-
This is now solved The solution was this in the activation script:
$blog_real_id = $wpdb->get_var(“select blog_id from wp_bp_user_blogs where user_id = “.$user_id.” limit 1″);
wp_cache_key_delete(“1:users:”.$user_id);
wp_cache_key_delete($blog_real_id.”:users:”.$user_id);This clears the cached user info for blog id 1 and the signed up blog ud.
Forum: Plugins
In reply to: [Memcached Object Cache] Issue with multisite and use of switch_to_blog()Could this be related to this question i created at stackexchange ?
Forum: Hacks
In reply to: Keep header when switching themeEnded up with this:
<?php /** * @package Preserve_Header_Image * @version 1.0 */ /* Plugin Name: Preserve_Header_Image Plugin URI: https://bloggersdelight.dk/ Description: Preserve header image between stylesheet (theme) switchings. Version: 1.0.0 Author: Nikolaj J?rgensen Author URI: https://bloggersdelight.dk/ License: GPLv2 or later */ add_action('pre_update_option_stylesheet', 'phi_pre_update_option_stylesheet'); add_action('switch_theme', 'phi_switch_theme'); function phi_pre_update_option_stylesheet($stylesheet) { update_option('previous_header_image_saved', get_theme_mod('header_image')); return $stylesheet; } function phi_switch_theme() { if (get_option('previous_header_image_saved')) { set_theme_mod('header_image', get_option('previous_header_image_saved')); delete_option('previous_header_image_saved'); } } ?>
Forum: Hacks
In reply to: Keep header when switching themeNope still no solution sadly.
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] cdn rewrite is not workingi restored the ossdl-cdn.php file from 0.9.9 version into the 1.1 version, all is fine now.
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] cdn rewrite is not workingI just tried rolling back to 0.9.9 now cdn rewrite is working again. Something must be broken in both 1.0, and 1.1
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] cdn rewrite is not workinghmm still not figured it out, there is nothing to se in the debug log. Could it be that outbut buffer is broken somewhere in the ossdl.php part of supercache ?
What do you need to have a look at this ? The ossdl.php and some log output perhabs ?
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] prune / garbage collection and wpmyThis is now resolved. It was a strange “feature” in buddypress that invalidates all cache upon any action within the wp-admin area – i wonder why they made buddypress that way ?!?
solved this myseld. There was an empty linebreak in the object-cache.php file. I removed the linebreak and even the closing ?> line.
This resulted in breaking the headers that needed to be sent back after doing the ajax stuf.
Stupid error, but its solved now.