WordPress.org

Support

Support » Multisite » Cannot login after adding Create Network Script in wp-config.php

Cannot login after adding Create Network Script in wp-config.php

Viewing 8 replies - 1 through 8 (of 8 total)
  • 127.0.0.1 is mapped as “//localhost/”

    Your wp-config.php is missing a line.

    define('WP_ALLOW_MULTISITE', true);

    I have done it manually before. Do I have to create new DB and user for this to work or is it done automatically?

    “I have Enabled the Network Install >> Can see the Network Setup option in the administration panel”

    You’ve done… what manually?

    I’m telling you that what you have in your wp-config.php, what you showed is, is missing that line. Are you saying “No it’s there, I just didn’t paste it here?”

    3] It asked me to login after adding the scripts >> WordPress wont login after that and not does it show the login page.

    What do you mean it doesn’t show the login page? What happens when you go to domain.com/wp-admin/?

    You’ve done… what manually?
    I’m telling you that what you have in your wp-config.php, what you showed is, is missing that line. Are you saying “No it’s there, I just didn’t paste it here?”

    <<have added the script – define(‘WP_ALLOW_MULTISITE’, true);>>
    <<loggedout & loggedin to get the Network Setup in Admin Panel>>
    <<tried running the Networksetup, which asked me to add the mentioned scripts in two files wp-config and htaccess>>
    <<added them and logged out and logged in to get a blank page with no login screen>>

    3] It asked me to login after adding the scripts >> WordPress wont login after that and not does it show the login page.
    What do you mean it doesn’t show the login page? What happens when you go to domain.com/wp-admin/?

    <<Anyways it does not show the login page, it hangs to a blank page. A re-addition of above multi-site define multisite gives me an error saying Network already present>>
    <<Do I have to make a new DB for multiuser? and add it in wp-config.php even when using the NETWORKSETUP in ADMINISTRATION Panel>>

    Please use blockquotes and normal HTML when replying, eh? It’s hard to read what you wrote with all the << and >> around there…. Complete sentences are helpful too 🙂

    have added the script – define('WP_ALLOW_MULTISITE', true);

    loggedout & loggedin to get the Network Setup in Admin Panel

    tried running the Networksetup, which asked me to add the mentioned scripts in two files wp-config and htaccess

    added them and logged out and logged in to get a blank page with no login screen

    And what page are you on at this point? Domain.com/wp-admin/ or domain.com/wp-login.php?

    Does ANY page work on your site?

    Okay. Here is what I have done and where I am stuck.

    Done:
    After adding wp_multisite_enable/ enabling network setup in wp-config,
    and running network setup,
    and adding the mentioned scripts in .htaccess and wp-config,
    and logging out,
    and then tried logging in,

    Where I am stuck
    * WordPress locks out or refreshes to home page.
    * It shows only the Home page
    * I have not added a new database and details in wp-config, presuming it will do it automatically
    * If I remove 2nd added list of wp-config scripts, in the Network setup it shows message “A Multisite Network is present/ enabled” or something similar

    WordPress locks out or refreshes to home page.

    “Locks out”? Nothing built in to WP will ‘lock’ anything.

    Go do example.com/wp-login.php

    Try to log in.

    EXACTLY what error message do you get? Copy paste, please 🙂

    I have not added a new database and details in wp-config, presuming it will do it automatically

    There is no new DB, don’t worry about that.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot login after adding Create Network Script in wp-config.php’ is closed to new replies.
Skip to toolbar