Forums

[resolved] No Network Admin on 3.1.1 (21 posts)

  1. scotthom
    Member
    Posted 1 year ago #

    Hi everyone,

    I spent a fair bit of time scouring the forums before posting here.

    Question I have is - if the problem is with the host provider - in this case Globat - what do I need them to do? It is a shared environment, they supposedly run the Apache mod_rewrite, and use Simple Scripts for installing Word Press (which I did not use).

    The issue I'm having is the Network Admin button does not appear in the top right hand corner beside the user name (admin), nor is there any multi-site functionality. When clicking on Tools -> Network it prompts me with a warning saying a network is already running.

    Here are the common issues that I know it is NOT:
    wp-config (yes the multi-site script is in the middle)
    .htaccess is in the specified folder
    No plugins except for what come with the install
    Theme is Twenty Ten
    All tables are created in MySQL (including wp_blogs, wp_blog_versions, wp_registration_logs, wp_signups, wp_site, wp_sitemeta, wp_usermeta, wp_user)

    Thank you for your help.

  2. Tim Moore
    Code Wrangler
    Posted 1 year ago #

    Just to clarify: you followed the directions in http://codex.wordpress.org/Create_A_Network exactly?

    This is a fresh install you are trying to enable a network on?

    Can you post your wp-config (without passwords/salts) just so we can check?

  3. sokratesagogo
    Member
    Posted 1 year ago #

    Have you created a new site yet? I don't think it appears until you have more than the main site.

  4. Tim Moore
    Code Wrangler
    Posted 1 year ago #

    @sokratesagogo: the Network Admin button appears as soon as the network is properly set up. You only have one blog initially and you need to access Network Admin in order to add a second, anyway.

  5. scotthom
    Member
    Posted 1 year ago #

    wp-config:

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    define('WP_ALLOW_MULTISITE', true);
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'gobicapital.ca' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );


    Edited to remove the database username and password. NEVER post passwords!

  6. Okay, so when you turned on the network, you JUST added in define('WP_ALLOW_MULTISITE', true); and followed the directions? You're missing a line from the MultiSite section, see.

    define( 'MULTISITE', true );

  7. Andrea_r
    team pirate
    Posted 1 year ago #

    @scotthom pl;ease clarify that you followedd the actual directions and did not simply paste that chunk in the config file, which will not work. you DO have to visit the network setup page and you DO have to go through it.

    If you're getting the message one has been set up already, check the db for the extra tables.

  8. scotthom
    Member
    Posted 1 year ago #

    @Ipstenu Sorry, the define( 'MULTISITE', true ) is in the wp-config file.

    @Andrea_r I followed the directions and even consulted your ebook. What should I check the db tables for? The list of db tables is below.

    wp_blogs, wp_blog_versions, wp_commentmeta, wp_comments, wp_links, wp_options, wp_postmeta, wp_posts, wp_registration_log, wp_signups, wp_site, wp_sitemeta, wp_terms, wp_term_relationships, wp_term_taxonomy, wp_usermeta, wp_users

  9. Andrea_r
    team pirate
    Posted 1 year ago #

    You already have the network tables in there, that's why you;re getting the message.

    had you created it before this?

    Sorry, the define( 'MULTISITE', true ) is in the wp-config file.

    Where? Make sure it's in the same chunk as the rest of it.

  10. scotthom
    Member
    Posted 1 year ago #

    I'm sorry for the delay in responding but work has been all consuming.

    Here is the code in the wp-config file:

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'gobicapital.ca' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    I have already gone through the steps of creating a network - http://codex.wordpress.org/Create_A_Network - however when I go to log back in there is no "Network Admin" in the top right corner nor the ability to manage a network of sites.

    Any help to resolve this is much appreciated.

  11. Andrea_r
    team pirate
    Posted 1 year ago #

    This post has a screenshot of what you should see.
    http://wpmututorials.com/news/new-features/network-admin/

    Also, go look in the database and see if:
    - the tables are created properly
    - you're listed as a super admin in the wp_sitemeta table in the site_admins field. It should have your username in there.

  12. scotthom
    Member
    Posted 1 year ago #

    I definitely do not see that when logging in. I'll check the tables now.

  13. scotthom
    Member
    Posted 1 year ago #

    This is what it says in wp_sitemeta table in the site_admins field:
    a:1:{i:0;s:5:"admin";}

  14. Andrea_r
    team pirate
    Posted 1 year ago #

    Are you logged in as "admin"?

  15. scotthom
    Member
    Posted 1 year ago #

    Yes my login is 'admin'.

  16. Andrea_r
    team pirate
    Posted 1 year ago #

    Can you manually type in /wp-admin/network/ and get anywhere?

  17. scotthom
    Member
    Posted 1 year ago #

    If I'm not logged in, it takes me to the login page.

    If I'm logged in, it says "You do not have sufficient permissions to access this page."

  18. Andrea_r
    team pirate
    Posted 1 year ago #

    Then something is not making you a super admin somewhere. Hrm.

    you didn't rename the username along the line did you?

  19. scotthom
    Member
    Posted 1 year ago #

    No and there is only one user in the records.

    The only thing I can find in the MySQL is under the wp_usermeta table the field "show_admin_bar_admin" is false. Is there anything else that could cause it?

    Thanks!

  20. Andrea_r
    team pirate
    Posted 1 year ago #

    Did you disable your plugins?

    other than the line in the db, and having the code in the right place (which it appears you do) it just... works.

    It's coming back and saying you're not a super admin when clearly you are, so I Dunno what to tell ya there.

  21. scotthom
    Member
    Posted 1 year ago #

    Hi everyone,

    Thank you for your help. I deleted everything and did a reinstall and followed the instructions for multisite. It works!

    No idea what was wrong before, but taking a three week break definitely helped.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic