• Resolved robbarron1

    (@robbarron1)


    Hi.

    I’m a bit of WordPress noob so please bear with me…

    I’ve set up and self-hosted my site https://transenduro.co.uk/transpyrenduro/

    It’s up and running and I’m able to create posts and pages absolutely fine. Now I want to add a new user so my friend can also contribute to the site. This is where my problem lies – every time I attempt to add him, I get “the requested user does not exist”. My only option is to add the new user as an existing user on the network and I’m sure this is where the problem is. I don’t have the option on my dashboard to add a new user and the associated form, just the option to add an existing user…which doesn’t seem to work. In fact, having looked through several support threads, there are several options that appear to be absent from my dashboard.

    I don’t (as far as I know) have any plugins running, I think it’s the standard installation of Twenty Eleven. I had problems getting the iPhone WP app to talk to the site and it turned out to be my host (NamesCo) blocking certain php files so I’m wondering if that’s it?

    I’ve only got one WP site running on the domain, but I have enabled multisite just to be on the safe side. In fact when I looked at the php it was already enabled.

    I started following the Create a Network instructions, and only got as far as completing step 2! After that, step 3 doesn’t seem to work as I can’t see Network Setup in my Dashboard.

    Confused!

Viewing 15 replies - 1 through 15 (of 39 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    My only option is to add the new user as an existing user on the network and I’m sure this is where the problem is.

    No that’s where the SOLUTION is ??

    Multisite – Add users to the network. THEN add them per-site.

    You were doing it right.

    Thread Starter robbarron1

    (@robbarron1)

    … I’m sure this is where the problem is. I don’t have the option on my dashboard to add a new user and the associated form, just the option to add an existing user…which doesn’t seem to work. In fact, having looked through several support threads, there are several options that appear to be absent from my dashboard.

    Despite having enabled Multisite in the php, the Network options haven’t been enabled (ie they’ve not appeared) in my dashboard so I can’t add a new user.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You don’t see https://codex.www.ads-software.com/images/7/7c/tools-network.png

    Did you put define('WP_ALLOW_MULTISITE', true); in your wp-config.php, ABOVE the ‘stop editing here’ line?

    Thread Starter robbarron1

    (@robbarron1)

    Yup, done that…and just checked again to make sure.

    I’ve only got one WP site running on the domain, but I have enabled multisite just to be on the safe side. In fact when I looked at the php it was already enabled.

    I started following the Create a Network instructions, and only got as far as completing step 2! After that, step 3 doesn’t seem to work as I can’t see Network Setup in my Dashboard.

    Which is why I’m wondering if my host is blocking something…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What do you mean by ‘In fact when I looked at the php it was already enabled.’ ?

    And who’s your host?

    Thread Starter robbarron1

    (@robbarron1)

    What do you mean by ‘In fact when I looked at the php it was already enabled.’ ?

    And who’s your host?

    I mean that when I opened up the php to insert define(‘WP_ALLOW_MULTISITE’, true); it was already there, ie already “true”.

    Host is NamesCo

    Thread Starter robbarron1

    (@robbarron1)

    You don’t see https://codex.www.ads-software.com/images/7/7c/tools-network.png

    …and no, I don’t get those tools at all

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s … odd. It shouldn’t be there before you start.

    Go look at your database. Does it have wp_sites and wp_sitesmeta tables?

    Thread Starter robbarron1

    (@robbarron1)

    Look at my database? Hmmmmmm… I refer you to my initial “I’m a WP noob” comment. I’m afraid you’ve lost me there. Where would I find that? :o/

    Thanks for your help thus far by the way…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Welcome to running a Multisite.

    Two things you MUST get familiar with if you have a prayer of maintaining it are FTP and at the very least, LOOKING at your DB.

    See if your host’s control panel has phpMyAdmin. If not, check their knowledge base for SQL tools.

    Thread Starter robbarron1

    (@robbarron1)

    FTP – no probs, it’s part of my daily bread.

    PHP and SQL etc not so much, not at all in fact….but I’ll take a look!

    <some time later> Ok yes, I’ve looked at the mySQL databases menu via my hosts Control Panel. Very limited functionality on there but I have switched a few options on that were previously off, such as remote access.

    I’ve also located the relevant file via my FTP…I think.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, go back to what I asked.

    Go look at your database. Does it have wp_sites and wp_sitesmeta tables?

    Are they there? If not, check that the ID you have listed for SQL in wp-config.php has access to create tables.

    Thread Starter robbarron1

    (@robbarron1)

    Hmmmm ok, don’t seem to have those anywhere.

    What I have found however in /wp-admin/network/sites.php is this which appears to say multisite is NOT enabled:

    <?php
    /**
     * Multisite sites administration panel.
     *
     * @package WordPress
     * @subpackage Multisite
     * @since 3.0.0
     */
    
    /** Load WordPress Administration Bootstrap */
    require_once( './admin.php' );
    
    if ( ! is_multisite() )
    	wp_die( __( 'Multisite support is not enabled.' ) );
    
    if ( ! current_user_can( 'manage_sites' ) )
    	wp_die( __( 'You do not have permission to access this page.' ) );
    
    $wp_list_table = _get_list_table('WP_MS_Sites_List_Table');
    $pagenum = $wp_list_table->get_pagenum();
    
    $title = __( 'Sites' );
    $parent_file = 'sites.php';
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    LEAVE THAT FILE ALONE. It’s core, don’t TOUCH IT unless you are a WordPress expert. Back away from that file please.

    Okay, if the tables are MISSING that’s the issue.

    Delete the define('WP_ALLOW_MULTISITE', true); line from wp-config.

    Log out of WP.

    Log back in.

    Add the line BACK in.

    Log out and back in again.

    Do the tables get created? If NOT, ask your host.

    Thread Starter robbarron1

    (@robbarron1)

    OK, done that.

    No tables appear to have appeared. I think I may have broken it!

    Looking at the WP app on my iPhone, I now get the old “Blog returned invalid data” and I am unable to post/edit etc

    Back on the Mac, when I try to logout of my dashboard (or try to login from a different browser) I now get a screen full of errors:

    Warning: Cannot modify header information – headers already sent by (output started at /content/StartupHost/t/r/transenduro.co.uk/web/transpyrenduro/wp-config.php:1) in /content/StartupHost/t/r/transenduro.co.uk/web/transpyrenduro/wp-login.php on line 349

Viewing 15 replies - 1 through 15 (of 39 total)
  • The topic ‘Can't add new users – HELP!’ is closed to new replies.