WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] New install does not work as multisite (5 posts)

  1. automaton
    Member
    Posted 2 years ago #

    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);
  2. 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

  3. automaton
    Member
    Posted 2 years ago #

    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.

  4. 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)

  5. 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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic