• On viewing my site I get this
    public_html/wp-includes/ms-settings.php on line 14
    In ms-settings I see this

    if ( 'BASE' = $base )
    	die( /*WP_I18N_BASE_ERROR*/'Configuration error in <code>wp-config.php</code>. <code>$base</code> is set to <code>BASE</code> when it should be like <code>/</code> or <code>/blogs/</code>.'/

    [I am running MultiSite on my Domain]

    My config.php looks like this

    /** MultiSite **/
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    
    $base = '/';  <<----- This is my problem. What should it look like???
    define( 'DOMAIN_CURRENT_SITE', 'domain.com' ); < ---- Should this be My Domain???
    
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    HELP HELP URGENT

Viewing 15 replies - 1 through 15 (of 17 total)
  • the / is fine – that means a root install
    it’s this line you need to fix
    define( 'DOMAIN_CURRENT_SITE', 'yourrealdomainname.com' );
    without any prefix

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Moving this to the MultiSite subfourm

    And don’t change ms-settings.php ?? That’s a core file and will break stuff if you change it.

    If you’re STILL having the problem, check that you don’t have two $BASE entires. There was a webhost that was putting that in for people.

    Thread Starter barnswalla

    (@barnswalla)

    Thanks for replies Guys

    My cofig now looks like this

    define('WP_ALLOW_MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    $base = "/";
    define('DOMAIN_CURRENT_SITE', 'goshawkuk.com');
    define('PATH_CURRENT_SITE','/');
    define('SITE_ID_CURRENT_SITE', 1 );
    define('BLOG_ID_CURRENT_SITE', 1 );

    But still getting this:===
    Parse error: syntax error, unexpected '=' in /home/goshawk1/public_html/wp-includes/ms-settings.php on line 14

    And ms-settings line 14+15 look like this

    if ( 'BASE' = $base )
    	die( /*WP_I18N_BASE_ERROR*/ 'Configuration error in wp-config.php. $base is set to BASE when it should be like / or /blogs/.'/*/WP_I18N_BASE_ERROR*/ );

    Still Even more Baffled!!!! [Complete newby you see]

    Thread Starter barnswalla

    (@barnswalla)

    And Ms-settings line 14+15 look like this

    if ( 'BASE' = $base )
    	die( /*WP_I18N_BASE_ERROR*/'Configuration error in wp-config.php

    Even more Baffled.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Get out of ms-settings.php.

    Put the file down and walk away, you do not need to edit it. I have a ruler, son, and I will smack your hands.

    Try this in your wp-config.php – Note the SINGLE quotes use for Base.

    define('WP_ALLOW_MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'goshawkuk.com');
    define('PATH_CURRENT_SITE','/');
    define('SITE_ID_CURRENT_SITE', 1 );
    define('BLOG_ID_CURRENT_SITE', 1 );

    Failing that, re-install the core WordPress files. This will not overwrite your settings. Just download a fresh copy of WP and copy the files up to your server.

    Thread Starter barnswalla

    (@barnswalla)

    Got out of ms-setting considering myself Smacked.

    No that didn’t work. It just gave an error on line 18

    re-installing core files. keep you posted.

    Thanks.

    Thread Starter barnswalla

    (@barnswalla)

    Re loaded wordpress. That didn’t help. Error now on line 18

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Just so you understand,t he error on line isn’t actually accurate at all. PHP calculates weirdly and it’s not telling you if it’s really that file or one being called.

    So lets go back to basics. Turn off all your plugins. Yes. All. Even the ones in mu-plugins.

    Thread Starter barnswalla

    (@barnswalla)

    Could not turn plugins off. [can’t get in to do so]

    Have downloaded them and deleted from ftp. I can then re-install

    No idea what we are doing !!! lol

    Thread Starter barnswalla

    (@barnswalla)

    Have re-installed WP still no change

    Still getting this

    Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home/goshawk1/public_html/wp-config.php on line 18

    Baffleder and Baffleder!!!!

    Thread Starter barnswalla

    (@barnswalla)

    Also downloaded then deleted plugins

    Still no joy

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Turn off the themes. Remove all but twentyeleven from the themes folder.

    What kind of change were you making when this happened?

    Thread Starter barnswalla

    (@barnswalla)

    Thanks very much given up on multisite

    Thread Starter barnswalla

    (@barnswalla)

    Was trying to install multithemes

    Thread Starter barnswalla

    (@barnswalla)

    Have removed Multithemes from config
    Downloaded plugins. Then deleted them from site Via FTP
    Re-loaded set of new Plugins [NO multisite]
    Got back into site Then this.
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/goshawk1/public_html/wp-includes/functions.php on line 3465

    At my wits end GRRR GRRR

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘ms-settings.php’ is closed to new replies.