The MU forums have moved to WordPress.org

No WPMU site defined on this host. [on TRAC] (14 posts)

  1. Nekusagi
    Member
    Posted 17 years ago #

  2. amanzi
    Member
    Posted 17 years ago #

    Hi there - did you read the following two pages?
    http://trac.mu.wordpress.org/wiki/DebuggingWpmu
    and
    http://trac.mu.wordpress.org/wiki/UpgradingWpmu

    Also read through this post, as there's some useful information there too:
    http://mu.wordpress.org/forums/topic.php?id=1369

  3. Nekusagi
    Member
    Posted 17 years ago #

    it is a fresh install

    I fixed the BASE and VHOST

    the htaccess changes, as I wrote in the trac, cause a Internal Server Error.

  4. amanzi
    Member
    Posted 17 years ago #

    What was the reason for changing the htaccess file? Is this something you have to do because of your hosting arrangement?

  5. Nekusagi
    Member
    Posted 17 years ago #

    anyway, changing it or not I get the same error.

    I was looking on the codes and found this:

    if( $current_site == null && defined( "WP_INSTALLING" ) == false )
    die( "No WPMU site defined on this host." );

    Seem that the problem is in the 'DEFINE'.

  6. amanzi
    Member
    Posted 17 years ago #

    Does it fix the problem if you change it?

  7. Nekusagi
    Member
    Posted 17 years ago #

    and change WHAT?

  8. donncha
    Key Master
    Posted 17 years ago #

    I updated the Trac ticket - you're not supposed to add those lines to the .htaccess file.

  9. Nekusagi
    Member
    Posted 17 years ago #

    ANY line that I add in htaccess give the error.

    ATM the file is clean

  10. donncha
    Key Master
    Posted 17 years ago #

    Can you paste your .htaccess here?

  11. Nekusagi
    Member
    Posted 17 years ago #

    there's NOTHING in the file!

    now, check this

    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
    if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
    else $path = 'wp-admin/';
    include( "index-install.php" ); // install WPMU!
    die();
    }

    If there's NO 'wp-config.php' it will attempt to install?
    And the 'WP-INSTALLING' is defined when you include the index-install. O.o it is weird. Im trying to remove wp-config.php and see what gonna blow.

  12. Nekusagi
    Member
    Posted 17 years ago #

    lol, removing the wp-config the install screen loads up but give an error when I try to install cause have no details about the DB access.

    [edit] my bad! Typo [/edit]

  13. Nekusagi
    Member
    Posted 17 years ago #

    Indeed... the problem is that I handly edited the config.php...

    Since when we should NOT do that? O.o

  14. donncha
    Key Master
    Posted 17 years ago #

    Delete .htaccess and wp-config.php and reinstall. it should hopefully work then.

About this Topic

  • Started 17 years ago by Nekusagi
  • Latest reply from donncha