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 1 year 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 1 year ago #

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

  3. MissGwenny
    Member
    Posted 1 year ago #

    No above.

    Below
    define('BLOG_ID_CURRENT_SITE', 1);

  4. MissGwenny
    Member
    Posted 1 year ago #

    Anyone else has this problem?

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Losing access happened immediately after you installed the plugin?

    Do you know if DM had ever been installed before?

  6. MissGwenny
    Member
    Posted 1 year 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 1 year 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 1 year ago #

    Exactly!

    That was it. It's working now.

    Thank you very much Ron!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.