Support » Networking WordPress » New install does not work as multisite

  • Resolved automaton

    (@automaton)


    I’ve just created a brand new WordPress install, which works fine as long as I leave multisite as ‘false’. Once I change it to true, i get an error saying there is no site defined at this host. wp-admin is also unreachable.
    The extra DB tables for a multisite install are also not created.
    When i switch the multisite parameter back to false in wp_config, I get a normal single-site install again.
    The database for this site is on another server than the web files, might this be an issue? It’s not for the single site install.
    It is also the Dutch language version (from http://nl.wordpress.org/), might that be an issue?

    These are the relevant config parameters:

    define('WP_DEBUG', true);
    $base='/';
    
    define( 'MULTISITE', true);

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    You’re putting in the wrong initial command for setup.

    ‘define(‘WP_ALLOW_MULTISITE’, true);’

    is what you want. that’s not what you have. that line is different and comes after. please read:

    http://codex.wordpress.org/Create_A_Network

    Oh dear, silly me. I copy-pasted the line from another WP multisite install, and was thus blinded to my obvious error.

    On a sidenote, though, http://codex.wordpress.org/Create_A_Network doesn’t mention that you need to remove ‘define(‘WP_ALLOW_MULTISITE’, true);’ at the end. Otherwise, the dashboard will tell you that another multisite install is present.

    Anyway, thanks for the quick support.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    No, you don;t need to remove it. 🙂 The network setup screen will move under the Network admin, and it’s handy to leave it there in case you need the rewrite rules again.

    (the line to remove it was there, and I took it out)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    You DON’T remove that line (unless, as you mentioned, you copied the config file from an extant site, which is always a bad idea 😉 ).

    From a vanilla wp-config, you put the line in, follow the directions, and leave it in 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘New install does not work as multisite’ is closed to new replies.