I've got two systems, one setup and running WPMU and another which I've been attempting to install. In both cases, I am getting the error message:
Parse error: syntax error, unexpected '}' in /path/to/wp/wp-includes/wpmu-functions.php on line 1710
In the case of the standing version of WPMU, I've been able to resolve this issue by going back to a previous version of WPMU (1.2.3). I thought perhaps the problem was something like a plugin, but in the case of the new install, there are no plugins or mu-plugins at all, this is just a straight ahead install of WPMU, and I'm still getting it. Once again, replacing the file with the 1.2.3 version corrected the problem.
I'd thought that, like many such cases with supposedly missing }'s, the problem might be that my host uses PHP4 natively and requires a directive in the .htaccess file in order to use PHP5. However, upon adding this directive, nothing has changed.
Also, there is another problem, which is that, regardless of whether the installation is successful or not, there is a ton of code splattered out onto the install window:
oked to the 'activate_PLUGIN' action. */ function register_deactivation_hook($file, $function) { $file = plugin_basename($file); add_action('deactivate_' . $file, $function); } function _wp_filter_build_unique_id($tag, $function, $priority = 10) { global $wp_filter; // If function then just skip all of the tests and not overwrite the following. if( is_string($function) ) return $function; // Object Class Calling else if(is_object($function[0]) ) { $obj_idx = get_class($function[0]).$function[1]; if( is_null($function[0]->wp_filter_id) ) { $count = count((array)$wp_filter[$tag][$priority]); $function[0]->wp_filter_id = $count; $obj_idx .= $count; unset($count); } else $obj_idx .= $function[0]->wp_filter_id; return $obj_idx; } // Static Calling else if( is_string($function[0]) ) return $function[0].$function[1]; } ?> ( 'shutdown', 'wp_ob_end_flush_all', 1); ?> 'rss_excerpt_length': case 'default_category': case 'default_email_category': case 'default_link_category': $value = abs((int) $value); break; case 'posts_per_page': case 'posts_per_rss': $value = (int) $value; if ( empty($value) ) $value = 1; if ( $value < -1 ) $value = abs($value); break; case 'default_ping_status': case 'default_comment_status': // Options that if not there have 0 value but need to be something like "closed" if ( $value == '0' || $value == '') $value = 'closed'; break; case 'blogdescription': case 'blogname': $value = addslashes($value); $value = wp_filter_post_kses( $value ); // calls stripslashes then addslashes $value = stripslashes($value); $value = wp_specialchars( $value ); break; case 'blog_charset': $value = preg_replace('/[^a-zA-Z0-9_-]/', '', $value); // strips slashes break; case 'date_format': case 'time_format': case 'mailserver_url': case 'mailserver_login': case 'mailserver_pass': case 'ping_sites': case 'upload_path': $value = strip_tags($value); $value = addslashes($value); $value = wp_filter_kses($value); // calls stripslashes then addslashes $value = stripslashes($value); break; case 'gmt_offset': $value = preg_replace('/[^0-9:.-]/', '', $value); // strips slashes break; case 'siteurl': case 'home': $value = stripslashes($value); $value = clean_url($value); break; default : break; } return $value; } function wp_parse_str( $string, &$array ) { parse_str( $string, $array ); if ( get_magic_quotes_gpc() ) $array = stripslashes_deep( $array ); // parse_str() adds slashes if magicquotes is on. See: http://php.net/parse_str $array = apply_filters( 'wp_parse_str', $array ); } ?> = $post->post_content; $multipage = 0; } return true; } ?> tructure); $this->init(); } } function set_category_base($category_base) { if ($category_base != $this->category_base) { update_option('category_base', $category_base); $this->init(); } } function WP_Rewrite() { $this->init(); } } ?> gs', $allowedtags ); kses_remove_filters(); kses_init_filters(); } add_action('init', 'kses_init'); add_action('set_current_user', 'kses_init'); ?> v') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Mozilla/4.') !== false) { $is_NS4 = true; } $is_IE = ( $is_macIE || $is_winIE ); // Server detection $is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false; $is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false; ?> : function wp_hash($data) { $salt = wp_salt(); if ( function_exists('hash_hmac') ) { return hash_hmac('md5', $data, $salt); } else { return md5($data . $salt); } } endif; ?> ets_init', 1); ?> _new_admin_email', 'update_option_new_admin_email', 10, 2); ?>
Still more problems, the links at the bottom of the install page read like this:
WordPress ยต | Support Forums
wordpress.org/forums/">Support Forums