When i try to access my domain mapping page it asks me to move the line define(‘sunrise’, ‘on’) above the last require_once line in the wp-config file. It is already above this line. I tried moving it higher and even to the top of the file(below the opening
I recognizes if i remove the line alltogether (asks me to uncomment the line or add it if it is missing) so I know It is not looking at some other file. What could cause this behavior?
Apparantly this happens with the newer version of domain mapping because sunrise.php itself needs to be updated. To solve it I:
Copy the new sunrise.php file from wp-content/plugins/wordpress-mu-domain-mapping/sunrise.php to wp-content/sunrise.php and you’ll be fine.
And it works now.