The MU forums have moved to WordPress.org

HELP........WP-CONFIG.PHP (13 posts)

  1. Wingit1Global
    Member
    Posted 10 years ago #

    Hey, I am trying to set up the wordpressmu wp-config.php file, but something keeps on going wrong. My problems come up as the following error:

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    URL to the problem would be: http://www.verivex.com/millerwing/index.php

    This is my wp-config.php file;
    ______________________________________

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'nineinte_verivexmillerwingblog'); // The name of the database
    define('DB_USER', 'nineinte_SeanW'); // Your MySQL username
    define('DB_PASSWORD', 'MyPassword'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    define('VHOST', 'VHOSTSETTING');
    $base = 'BASE';

    // double check $base
    if( $base == 'BASE' )
    die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = 'verivex_'; // nineinte_verivexmillerwingblog

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');

    define( "WP_USE_MULTIPLE_DB", false );

    /* Stop editing */

    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

    _______________________________________

    Thank You for the Help. =)

  2. lunabyte
    Member
    Posted 10 years ago #

  3. Wingit1Global
    Member
    Posted 10 years ago #

    ?......?

  4. lunabyte
    Member
    Posted 10 years ago #

    Search the forum with that link.

  5. Wingit1Global
    Member
    Posted 10 years ago #

    Ya.....I did but I nothing that directly answers my question so I was wondering if you guys could help......=)

  6. Wingit1Global
    Member
    Posted 10 years ago #

    I also have another probelm. I get this now:

    ------------------

    No WPMU site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance.

    _____________

    HELP

  7. conpeo
    Member
    Posted 10 years ago #

    you should delete these two .htaccess & wp-config.php
    No need to config any php, just upload & link to the upload site.

    Installation is NOT same as WP.

    try search for more details. (like "No WPMU site define")

    happy MU ;)

  8. Wingit1Global
    Member
    Posted 10 years ago #

    I deleted the htaccess.dist and the wp-config.php files but I still get this error:

    No WPMU site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance.

  9. drmike
    Member
    Posted 10 years ago #

    May want to search again. It's been discussed many times over.

    Please remember that WPMu is server software and you are now a server admin. Gotta admit that means the basic understand of troubleshooting as well as being able to use the tools provided to you. How else are you going to function when your own clients start asking you questions?

  10. donncha
    Key Master
    Posted 10 years ago #

    please check Debugging WPMU for further assistance.

    Have you done that? Have you checked the debugging page for assistence? You should read the readme that came with wpmu too.

    http://trac.mu.wordpress.org/wiki/DebuggingWpmu

    Donncha.

  11. cregy
    Member
    Posted 10 years ago #

    Hi Guys

    I have redone these steps several times and I still get the same problem:

    // double check $base
    if( $base == '/' )
    die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp_'; // Only numbers, letters, and underscores please!

    As you can see the $base is set to /, but the error message is still:
    Creating Database Config File: DONE
    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    There have been no tables created in the database and no htaccess file created yet. Any idea how I get passed this one please?

    Thanks

    Rich

  12. cregy
    Member
    Posted 10 years ago #

    Ok. Just to check I am doing this right, I have had another go!

    1. Load up wordpress mu in root.
    2. Fire up index.php
    3. Asks the questions re database etc.
    4. Says:
    Creating Database Config File: DONE
    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!
    Problem is when I check the config.php file, it is showing"
    '/'. Should I change ' to " please?
    Wild guess and probably totally wrong but I haven't a clue what else could be wrong!
    I don't have an .htaccess file in place and I didn't have a config.php before the above!

    Now what?

    Thanks

    Rich

  13. cregy
    Member
    Posted 10 years ago #

    Hi

    As I suspected it is something to do with installing it as root. It has installed fine as /wpmu/.

    Any ideas please?

    Thanks

    Rich

About this Topic

  • Started 10 years ago by Wingit1Global
  • Latest reply from cregy