I can't seem to be able to add domains, it keeps on refreshing and nothing is added.
I checked the error logs and found this

WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE blog_id = '1' ORDER BY id LIMIT 1 /* domain mapping */' at line 1 for query SELECT domain FROM WHERE blog_id = '1' ORDER BY id LIMIT 1 /* domain mapping */ made by login_header, do_action, call_user_func_array, domain_map->build_logout_cookie, domain_map->build_cookie

Any ideas?

  • zehost
    • WPMU DEV Initiate

    Hi Again,

    Well, just wanted to update the topic that the issue was solved.

    I miss-read the installation instruction because I am using multi-domains along with domain-mapping so all I had to do is rename dm_sunrise.php located in the multi-domains plugin to sunrise.php and move it to the wp-content folder.

  • aecnu
    • WP Unicorn

    Greetings zehost,

    Thank you for letting us know that you got this resolved.

    Yes that renaming the dm_sunrise.php does get quite a few people whom do not realize they need to do this when using Domain Mapping.

    Thank you for being a WPMU Dev Member!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.