mikeandkels
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP Subdomains] suddenly stopped workingsame here – broken
Forum: Plugins
In reply to: [WP Subdomains] [Plugin: WP Subdomains] Categories not workingafter hours of code reading and looking at phpMyAdmin i am not better off as to why things are not working.
i have tried uninstalling and reinstalling this plugin. i have also tried dropping the subdomain table in phpMyAdmin only to find that when it is recreated it is empty.
this really sux – my wesbite is no longer functional because i can’t get this to work.
you could try using phpMyAdmin to modify the contents of the table “wp_category_subdomains”
the subdomain code looks for values from this table (from classes.php)
#################################
//— Work out the Categories to subdomain
if ( get_option( WPS_OPT_SUBALL ) != “” ) {
$cats_exclude = $wpdb->get_col( “SELECT cat_ID FROM {$table_name} WHERE not_subdomain = 1” );$cats = array_diff( $cats_root, $cats_exclude );
} else {
$cats_include = $wpdb->get_col( “SELECT cat_ID FROM {$table_name} WHERE is_subdomain = 1” );$notcats = array_diff( $cats_include, $cats_root );
$cats = array_diff( $cats_include, $notcats );
}
#################################