• when adding this line my database crashes
    define( ‘SUBDOMAIN_INSTALL’, false );
    for multi site

    GNU nano 6.2 wp-config.php
    * the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secr>
    *
    * You can change these at any point in time to invalidate all existing cookies.
    * This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define( ‘AUTH_KEY’, ‘put your unique phrase here’ );
    define( ‘SECURE_AUTH_KEY’, ‘put your unique phrase here’ );
    define( ‘LOGGED_IN_KEY’, ‘put your unique phrase here’ );
    define( ‘NONCE_KEY’, ‘put your unique phrase here’ );
    define( ‘AUTH_SALT’, ‘put your unique phrase here’ );
    define( ‘SECURE_AUTH_SALT’, ‘put your unique phrase here’ );
    define( ‘LOGGED_IN_SALT’, ‘put your unique phrase here’ );
    define( ‘NONCE_SALT’, ‘put your unique phrase here’ );

    /**#@-*/

    /**`

    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     *
     * For information on other constants that can be used for debugging,
     * visit the documentation.
     *
     * @link https://www.ads-software.com/support/article/debugging-in-wordpress/
     */
    define( 'WP_DEBUG', false );
    
    /* Add any custom values between this line and the "stop editing" line. */

    define( ‘WP_ALLOW_MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    define( ‘DOMAIN_CURRENT_SITE’, ‘10.1.10.8’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );
    define(‘COOKIE_DOMAIN’, $_SERVER[‘HTTP_HOST’] );
    define(‘WP_ALLOW_REPAIR’, true);
    /* That’s all, stop editing! Happy publishing. */

    /** Absolute path to the WordPress directory. */
    if ( ! defined( ‘ABSPATH’ ) ) {
    define( ‘ABSPATH’, __DIR__ . ‘/’ );
    }

    /** Sets up WordPress vars and included files. */
    require_once ABSPATH . ‘wp-settings.php’;`

Viewing 4 replies - 1 through 4 (of 4 total)
  • I cannot reproduce this with me. What do you mean by “database crashes”? Do you see an error message? What does it say in the error.log? What is the current setting for the multisite (subdomain or not)?

    Thread Starter wrendavid

    (@wrendavid)

    This what I get when I try to log back into wp-admin
    One or more database tables are unavailable. The database may need to be repaired.

    Thread Starter wrendavid

    (@wrendavid)

    SUBDOMAIN false

    The answer to the other questions would also be interesting.

    What does it say in the error.log? What is the current setting for the multisite (subdomain or not)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘define( ‘SUBDOMAIN_INSTALL’, false );’ is closed to new replies.