WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
[resolved] Admin network lost when I activate sunrise (8 posts)

  1. MissGwenny
    Member
    Posted 6 months ago #

    Hi,

    I installed the plugin in my wordpress multisite.
    When I had the line define( 'SUNRISE', 'on' ); I lost my super admin access.
    It says that "You do not have permission to access this page."

    If I comment the line in my wp-config.php, I can access.

    Do you have an idea why?

    Thanks,

    http://wordpress.org/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 6 months ago #

    Did you add the sunrise line below the line that says "That's all, stop editing" ?

  3. MissGwenny
    Member
    Posted 6 months ago #

    No above.

    Below
    define('BLOG_ID_CURRENT_SITE', 1);

  4. MissGwenny
    Member
    Posted 6 months ago #

    Anyone else has this problem?

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 6 months ago #

    Losing access happened immediately after you installed the plugin?

    Do you know if DM had ever been installed before?

  6. MissGwenny
    Member
    Posted 6 months ago #

    Losing access happened only if I uncomment the line :define( 'SUNRISE', 'on' );

    DM had been installed before but I remove the plugin and re-install it.

    Maybe there is some code in the database?

  7. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 6 months ago #

    Check to see what is in the wp_domain_mapping table. That table should be empty if you don't have any mapped domains.

  8. MissGwenny
    Member
    Posted 5 months ago #

    Exactly!

    That was it. It's working now.

    Thank you very much Ron!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.