• I have updated the domain mapping plugi . . . so that I can HOPEFULLY, FINALLY fix the login error.

    I thought this was updated previously . . . but, when I logged in this morning it said there was another update.

    I get this error message when I click on Domain Admin under Super Admin:

    Please edit your /home/~~~~/domains/****.com/wp-config.php and move the line define( ‘SUNRISE’, ‘on’ ); above the last require_once() in that file or make sure you updated sunrise.php.

    Really??? I hate modifying this kind of stuff! Is there another way? Is this something that others have seen and a fix is on the way? Something else?

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Modifying your wp-config.php file is … kinda bog standard, and should be something you get comforatable with, if you want to run MultiSite (which requires a bit more savvy than normal WP). No, there’s no workaround. Just update the file.

    Thread Starter kimmer01

    (@kimmer01)

    Thank you for the information.

    The additional information about what I “should” be . . . unnecessary. FYI, I RUN multisite with over 50 blogs – which are all mine. Thanks though.

    ipstenu is 100% correct. MultiSite isn’t for the casual blogger, editing these configuration files is par for the course. Welcome to WordPress Multisite! 🙂 Best of luck & happy blogging.

    Thread Starter kimmer01

    (@kimmer01)

    So, I FINALLY got around to making this change . . . and you guessed it: the same error continues to show. Ideas?

    Did you put the define about sunrise in your config file?

    Thread Starter kimmer01

    (@kimmer01)

    I moved it to where the message indicates it should be: move the line define( ‘SUNRISE’, ‘on’ ); above the last require_once() in that file. I then saved it as wp-config.php and uploaded it to the appropriate spot.

    I have verified that the file it is checking it correct . . . or what I understand to be correct. lol.

    brnoyank

    (@brnoyank)

    Kimmer maybe a reinstall is in order. It’s often easier for novices to begin with a clean slate, makes troubleshooting so much easier.

    And 5 months of fiddling with this, I think I would’ve reinstalled & restored after a couple hours. Good luck.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Sometimes you have to move it higher up, kimmer.

    Try putting it above the WordPress multisite calls.

    Thread Starter kimmer01

    (@kimmer01)

    @brnoyank – I haven’t fiddled with it at all. This was the FIRST attempt!

    @ipstenu – thank you for the suggestion!

    Thread Starter kimmer01

    (@kimmer01)

    @ipstenu

    I tried putting it where I though you meant: above, define( “WP_USE_MULTIPLE_DB”, false ); (there was no other result for “multi” in my file)

    Same result.

    I put it in both places, same result.

    FYI. I am keeping the original wp-config file in a seperate file and not modifying; I do know a little. lol.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Solid call! 😀

    You have a section like this?

    /** MultiSite **/
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'ipstenu.org' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Put it right at the top there.

    Thread Starter kimmer01

    (@kimmer01)

    The relevant part . . .

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    … I don’t know who moderated that, but if you put up a SMALL portion of your wp-config, it’s better 😉

    Just tell me IF you have a section like that in yours, and if so, put the define( 'SUNRISE', 'on' ); just below /** MultiSite **/

    Also make sure you don’t have wild/crazy curly quotes in there.

    If you’re putting it in there, as long as it’s not at the bottom, it should be read just fine. *Unless* it has typos or curly quotes, as Ipstenu says. 😉

    Thread Starter kimmer01

    (@kimmer01)

    Sorry!

    No change in the error message.

    The relevant part of the file:

    define('DB_COLLATE', '');
    define('VHOST', 'yes');
    $base = '/';
    //define('DOMAIN_CURRENT_SITE', 'xyz' );
    //define('PATH_CURRENT_SITE', '/' );
    //define('SITE_ID_CURRENT_SITE', 1);
    //define('BLOGID_CURRENT_SITE', '1' );
    define( 'SUNRISE', 'on' );
Viewing 15 replies - 1 through 15 (of 25 total)

The topic ‘Domain Mapping’ is closed to new replies.