• Resolved DrCherry

    (@drcherry)


    Having an issue with a new network install. We’re installing to:
    dev.domain.com/blogs2

    The initial install goes fine, then we install the network piece per wp’s instructions and get this error when prompted to log back in:

    Error establishing a database connection

    Then we enable WP_ALLOW_REPAIR and try to repair and get:

    wp_1_posts: Table 'weblogs.wp_1_posts' doesn't exist
    wp_1_comments: Table 'weblogs.wp_1_comments' doesn't exist
    wp_1_links: Table 'weblogs.wp_1_links' doesn't exist
    wp_1_options: Table 'weblogs.wp_1_options' doesn't exist
    wp_1_postmeta: Table 'weblogs.wp_1_postmeta' doesn't exist
    wp_1_terms: Table 'weblogs.wp_1_terms' doesn't exist
    wp_1_term_taxonomy: Table 'weblogs.wp_1_term_taxonomy' doesn't exist
    wp_1_term_relationships: Table 'weblogs.wp_1_term_relationships' doesn't exist
    wp_1_commentmeta: Table 'weblogs.wp_1_commentmeta' doesn't exist

    I should add that we’re not going for a subdomain install, just a subdirectory install.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need to check the requirements
    here see if you using a method that will not work for multisite network.
    https://codex.www.ads-software.com/Create_A_Network

    Thread Starter DrCherry

    (@drcherry)

    Yes, that was guide I used. I checked the requirements before I started.

    Are you saying that I can’t install a networked installation in a subdirectory? If so, the documentation isn’t extremely clear on that point.

    According to that document, these are the cases where it will not work:

    “WordPress address (URL)” is different from “Site address (URL)”.

    Does this preclude subdirectories?

    If your existing WordPress installation has been set up for more than a month, due to issues with existing permalinks. (This problem will be fixed in a future version. See Switching between subdomains and subfolders for more information.)

    this was not the case.

    Thread Starter DrCherry

    (@drcherry)

    Thread Starter DrCherry

    (@drcherry)

    I resolved this issue myself. I was missing this directive in my wp-config.php

    define('MULTISITE', true);

    I guess it seemed superflous to have both of these directives:

    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);

    Yet both are obviously necessary. Thanks for all the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issues with network install w/ subdirectories’ is closed to new replies.