wp_die(sprintf(__('This site has not been activated yet. If you are having problems activating your site, please contact <a href="mailto:%1$s">%1$s</a>.'),str_replace('@',' AT ',get_site_option('admin_email',"support@{$current_site->domain}"))));
$current_site->site_name=$wpdb->get_var($wpdb->prepare("SELECT meta_value FROM $wpdb->sitemeta WHERE site_id = %d AND meta_key = 'site_name'",$current_site->id));
$current_site->blog_id=$wpdb->get_var($wpdb->prepare("SELECT blog_id FROM $wpdb->blogs WHERE domain = %s AND path = %s",$current_site->domain,$current_site->path));
$current_site=$wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->site WHERE domain IN ( %s, %s ) AND path = %s ORDER BY CHAR_LENGTH( domain ) DESC LIMIT 1",$domain,$cookie_domain,$path));
$current_site=$wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->site WHERE domain = %s AND path='/'",$domain));
else
$current_site=$wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->site WHERE domain IN ( %s, %s ) AND path = '/' ORDER BY CHAR_LENGTH( domain ) DESC LIMIT 1",$domain,$cookie_domain,$path));
wp_die(sprintf(__('That blog does not exist. Please try <a href="%s">%s</a>.'),$sites[0]->domain.$sites[0]->path));
else
wp_die(__('No site defined on this host. If you are the owner of this site, please check <a href="http://codex.wordpress.org/Debugging_WPMU">Debugging WPMU</a> for further assistance.'));
if(!$wpdb->get_var("SHOW TABLES LIKE '$wpdb->site'"))
$msg.='<p>'.sprintf(__('<strong>Database tables are missing.</strong> This means that MySQL is not running, WordPress was not installed properly, or someone deleted <code>%s</code>. You really <em>should</em> look at your database now.'),$wpdb->site).'</p>';
$msg.='<p>'.sprintf(__('<strong>Could Not Find Site!</strong> Searched for table <em>%1$s</em> in <code>%2$s</code>. Is that right?'),$domain.$path,DB_NAME,$wpdb->blogs).'</p>';
$msg.='<h1>'.esc_html__('What do I do now?').'</h1>';
// @todo Update WPMU codex link.
$msg.='<p>'.__('Read the <a target="_blank" href="http://codex.wordpress.org/Debugging_WPMU">bug report</a> page. Some of the guidelines there may help you figure out what went wrong.').'</p>';
$msg.='<p>'.__("If you're still stuck with this message, then check that your database contains the following tables:").'</p><ul>';
foreach($wpdb->global_tablesas$table){
$msg.='<li>'.$wpdb->prefix.$table.'</li>';
}
$msg.='</ul>';
// @todo Update WPMU codex link and support instructions.
$msg='<p>'.__('If you suspect a problem please report it to the support forums but you must include the information asked for in the <a target="_blank" href="http://codex.wordpress.org/Debugging_WPMU">WPMU bug reporting guidelines</a>! ').'</p>';
// @todo This file no longer exists post-merge.
if(is_file('release-info.txt')){
$msg.='<p>'.__('Your bug report must include the following text:').'</p>';