WordPress.org

Ready to get started?Download WordPress

Forums

[closed] 3.2 / mu setup (44 posts)

  1. creativelasso
    Member
    Posted 3 years ago #

    Created a brand new 3.2 wp site. Followed the instructions for setting it up as multi-site/creating a network.

    If I go to wp-admin/network.php it says "An existing WordPress network was detected."

    However, when I'm logged in, I don't see a drop down menu or anything showing me as Superadmin as shown here: http://codex.wordpress.org/Network_Admin_Settings_Screen

    my .htaccess file is what it should be, per what it gave me.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    and my wp-config.php has exactly what was provided.

    /** Enable Multi Site */
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', ' ADBSDFD.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    What could I be missing? Thanks!

  2. When you made the new site, did you do it on a new database?

  3. creativelasso
    Member
    Posted 3 years ago #

    Yes sir. I guess my point in saying it was new is that nothing has been created yet. The base site was working I then set it up multi-site/network. There are no posts to be concerned with, etc. So if I have to destroy something, not a big deal. I just can't seem to figure out what's missing. Thanks!

  4. Once you set up the network, then yes... going back to the setup screen will tell you that a network is there.

    Go to network admin. /wp-admin/network/
    what happens?

  5. creativelasso
    Member
    Posted 3 years ago #

    if I go to /wp-admin/network/ I get "You do not have sufficient permissions to access this page."

    If I go to wp-admin/network.php it says "An existing WordPress network was detected." as I mentioned

  6. And I'm saying once you set up the network, that message is expected.

    Go look in the database. Are the extra tables there? wp_blogs etc?

  7. creativelasso
    Member
    Posted 3 years ago #

    I see wp1_blogs and wp1_blog_versions I don't recall what tables were there before to be honest.

  8. creativelasso
    Member
    Posted 3 years ago #

    ok - looking in the wp1_blogs I can see the base blog.

    So, I must not have permissions set properly for myself?

  9. Wait, you named your table prefix as wp1_?

  10. creativelasso
    Member
    Posted 3 years ago #

    yes... I customized that per one of the options when installing. It said it could be anything. Is that an issue?

  11. It can be. Having a number at the end of the prefix has been known to cause issues with sites :/

  12. creativelasso
    Member
    Posted 3 years ago #

    ugh - so is there a way to fix?

  13. creativelasso
    Member
    Posted 3 years ago #

    ok - so I went in, deleted everything and started again. used the default wp_ everything works correctly EXCEPT I still get "You do not have sufficient permissions to access this page."

  14. Are you sure you're logged in as the admin?

  15. creativelasso
    Member
    Posted 3 years ago #

    lol absolutely... I can do whatever I want with plugins, etc. I'm the only user.

    I can do everything else in http://wp1.barbaraniven.com/wp-admin/

    just can't get to http://wp1.barbaraniven.com/wp-admin/network/ and there is no drop down.

  16. Amusingly your domain is blocked at my office...

    Okay. MAKE A BACKUP BEFORE YOU DO THIS!

    Go into your database and look up the wp_usermeta table values for your user ID.

    wp_capabilities should be a:1:{s:13:"administrator";s:1:"1";}

  17. creativelasso
    Member
    Posted 3 years ago #

    that's what I have :/

    a:1:{s:13:"administrator";s:1:"1";}

  18. Xephan
    Member
    Posted 3 years ago #

    I was having similar problems getting multi-site working on a clean install of 3.2, in my case, the network menu never shows up anyway. Deleted it, install 3.1 to check I didn't miss a step in procedure. Deleted 3.1, installed 3.2 and it just worked. So as useless as this might seem, if nothing else works, try installing 3.1 first :D

  19. creativelasso
    Member
    Posted 3 years ago #

    Xephan - exactly - that network menu isn't showing up. In this case, I did install 3.1 first and then let it do the upgrade. Same result. I'm logged in, I'm the admin and it shows above I am. As simple as the steps are, this should be a no-brainer. I'm a techie in general (doing web development) so this shouldnt be difficult.

  20. Did you do the standard 'Turn off all plugins, switch to the default TwentyEleven Theme' stuff?

  21. Xephan
    Member
    Posted 3 years ago #

    @creativelasso: I didn't let it do the upgrade since I saw a lot of people having problems with that as well. I deleted the 3.1 installation and database, copied in a fresh set of 3.2 files and installed again. And it worked. Totally unexplainable since nothing changed in between.

  22. creativelasso
    Member
    Posted 3 years ago #

    @Ipstenu - yes, all plugins are off. I never changed from the default theme. I'm just trying to get it going.

    @Xephan - thanks for the info. I tried that and it didn't work either. *sigh* I deleted all. Downloaded fresh and installed. Same thing - the menu doesnt show up!

    it says a:1:{s:13:"administrator";s:1:"1";}
    it says "Warning: An existing WordPress network was detected." when I go to http://wp1.barbaraniven.com/wp-admin/network.php

  23. Well the network.php will ALWAYS give you a network is created if the db files are there and you revisit.

    Something's NOT getting written to your database, but I can't think of what!

  24. dim_2007
    Member
    Posted 3 years ago #

    I have exactly the same problem!
    But I already found one difference in the code
    after this:
    define( 'MULTISITE', true );
    creativelasso installed:
    define( 'SUBDOMAIN_INSTALL', false );
    they asked me to install:
    define( 'SUBDOMAIN_INSTALL', true );
    Any way it makes no difference.
    I still have a string:
    define('WP_ALLOW_MULTISITE', true);
    is that right?

    And When I go http://www.mysite.com/admin it doesn't work anymore.

    Probably I just found something:
    I created one extra user "xxxx".
    When I log out and log in back I still have this use name "xxxx"!
    I cleaned cash but it still there.

  25. dim_2007
    Member
    Posted 3 years ago #

    I built another mu site and didn't add any more users and that site when I click on Network Admin give me:
    This webpage has a redirect loop
    And there is no SuperAdmin.

  26. creativelasso
    Member
    Posted 3 years ago #

    @dim_2007 define( 'SUBDOMAIN_INSTALL', true ); being true or false is based on if you are doing subdomains or doing subdirectories.

    I've tried leaving define('WP_ALLOW_MULTISITE', true); in and removing it. Didn't make a difference.

    @Ipstenu are there any other resources you can suggest for those of us with this issue? I need to get this setup for a client.

    Thanks!

  27. Xephan
    Member
    Posted 3 years ago #

    Did you guys delete the sql database before re-installing? If things are still found in the database or wordpress can't create/modify tables, then it could be a database permissions issue.

    I assume you have check that your PHP and SQL versions are up to date?

    @lasso: does it make a diff if you shift the location of the define statement further up in wp-config, e.g. near the top after the defines for user/server/password?

  28. Ive flagged this for more help from more people.

    I don't know whats wrong. It works for me, and I'm kinda stumped :(

  29. creativelasso
    Member
    Posted 3 years ago #

    @Ipstenu Thanks - from reading the "Installs" forum, it appears several others are having similar issues with this functionality.

  30. UGH. UGH. UGH. Okay, totally flagging needs dev now!

Topic Closed

This topic has been closed to new replies.

About this Topic