WordPress MU Domain Mapping
Error Message: Please uncomment the line define( 'SUNRISE (5 posts)

  1. Delta223
    Posted 3 years ago #

    Hi all;

    I'm getting this error message:

    Please uncomment the line define( 'SUNRISE', 'on' ); or add it to your /[directory tree]/wp-config.php


    - The line of code is in the wp-config file. It has been saved properly and is un-commented.

    - I've tried moving the line of code towards the top and bottom of the file without success (always ensuring that it wasn't within commented areas)

    What else could be causing this issue?



  2. Delta223
    Posted 3 years ago #

    PS: I should also confirm that the file has indeed been moved to: /wp-content/sunrise.php

    Plugin version is on wordpress MU 3.42

    The permissions on sunrise.php are 0644

    The direct link to the file is:


    Going to this link returns an error (maybe it's supposed to, since it's inside the wp-content folder?)

    Fatal error: Call to undefined method stdClass::escape() in /home/myguided/public_html/realtyveterans.com/wp-content/sunrise.php on line 11

  3. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    What else could be causing this issue?

    What code do you have after the /* That's all, stop editing */ line?

  4. godaliens
    Posted 3 years ago #

    hi Delta223,

    I had the same problem. For had copied and pasted the instructions and these were with the quotes wrong (they pointed to the other side). A hard time realizing what was wrong. When observed in detail in my programmed FTP (Coda) that the text color was a different color. So I decided correctly and manually typing the quotes.

    Maybe you've made ​​the same mistake I did. Well here's a tip for that is also observed.

  5. sfllc
    Posted 2 years ago #

    @godaliens. Thanks that worked

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress MU Domain Mapping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic