• Resolved bornfamous

    (@bornfamous)


    I followed the instructions for migrating multiple blogs into WP multisite, but got stuck when I installed WP Domain Mapping plugin. It gives the following instructions:

    Please edit your 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.

    However the line define ( ‘SUNRISE’, ‘on’ ); is already in the config.php file – although there is no require_once() in the file. Sunrise.php is where it belongs, but I don’t know how to update it.

    What should I do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Were you using a different domain mapping plugin before? ??

    One or the other – not both. ??

    Thread Starter bornfamous

    (@bornfamous)

    Thanks Andrea, no we haven’t used any other domain mapping plugin.

    Sunrise.php is where it belongs, but I don’t know how to update it.

    If there was one there, that’s why I asked. If it was the one that came with the domain mapping plugin, you’re good to go.

    Domain mapping is the only thing I know of that uses it. It doesn’t come in a default install.

    Thread Starter bornfamous

    (@bornfamous)

    The trouble is that I came into this after my client had already installed WP Multisite, so I’m not exactly sure what was there other than what she tells me. I installed WP Domain Mapping plugin, but I don’t know if sunrise.php was there already or not. I assume not, from what you say.

    But I can’t configure the domains, that’s the problem. I just get the message:

    Please edit your 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.

    And, like I said… that line is there, although there is no “require_once()” in wp-config.php.

    Look at the sunrise.php that she has.
    Compare it to the one in the plugin.

    Thread Starter bornfamous

    (@bornfamous)

    That was it! It was missing this code:

    if ( !defined( 'SUNRISE_LOADED' ) )
    	define( 'SUNRISE_LOADED', 1 );

    Thank you!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Migrating multiple blogs into multisite problem’ is closed to new replies.