• Resolved cubanology

    (@cubanology)


    I was removing mutisites from wordpress and was prompted to repair my database. I repaired and optimized and there were some files which could not be repaired. Now I cannot login, I get this message:
    “Error establishing a database connection”
    This is the website: https://cubanology.com/home/

    This was the result of my repair and optimize:
    wp_usermeta: Table upgrade required. Please do “REPAIR TABLE wp_usermeta” or dump/reload to fix it!
    wp_1_posts: Table ‘cubano2_home.wp_1_posts’ doesn’t exist
    wp_1_comments: Table ‘cubano2_home.wp_1_comments’ doesn’t exist
    wp_1_links: Table ‘cubano2_home.wp_1_links’ doesn’t exist
    wp_1_options: Table ‘cubano2_home.wp_1_options’ doesn’t exist
    wp_1_postmeta: Table ‘cubano2_home.wp_1_postmeta’ doesn’t exist
    wp_1_terms: Table ‘cubano2_home.wp_1_terms’ doesn’t exist
    wp_1_term_taxonomy: Table ‘cubano2_home.wp_1_term_taxonomy’ doesn’t exist
    wp_1_term_relationships: Table ‘cubano2_home.wp_1_term_relationships’ doesn’t exist
    wp_1_commentmeta: Table ‘cubano2_home.wp_1_commentmeta’ doesn’t exist

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter cubanology

    (@cubanology)

    Wrong!!! I do see that, I’m sorry, here you have it:

    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/home/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘cubanology.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/home/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);
    define(‘WP_ALLOW_MULTISITE’, true);

    Thread Starter cubanology

    (@cubanology)

    It was a subdirectory multisite install and the my Main blog was listed as the “Site 1” The site I added was “Site 2” so you both know.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Right-o

    Remove this from wp-config.php

    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/home/';
    define( 'DOMAIN_CURRENT_SITE', 'cubanology.com' );
    define( 'PATH_CURRENT_SITE', '/home/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Replace with define('WP_ALLOW_MULTISITE', false);

    Then rename the plugins folder to plugins-old and delete the mu-plugins folder (both in wp-content)

    Thread Starter cubanology

    (@cubanology)

    Thank You, its back but I do not have any MU Plugin folder at all. I was sharing the Original Plugins with the new site.

    Thread Starter cubanology

    (@cubanology)

    Thanks again, I do have another issue. So I will probably see you later. Thanks Again! Jose

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Removing Multisites and repairing database, cannot login now’ is closed to new replies.