WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Domain mapping not working after update to 3.1 (30 posts)

  1. mistermagoo
    Member
    Posted 3 years ago #

    I had to make a manual update to 3.1, and I had all pllugins desabled. After that, it was working good, but was still showing an error message that installation needs to be completed.

    Well, I did reactivate the previous plugins, including the wp-domain mapping. Until there it was working good, I could map without problems.
    But I decided to run the automatic update to 3.1, to be sure everything is ok. This time the automatic update worked fine. (Of course I had all plugins deactivated ahead).

    Now, after reactivating wp-domain mapping, I can no longer map any domains.
    I updated this plugin, then removed it, re-installed latest after a fresh download, removed sunrise, re-add sunrise, even changed wp-domain mapping to mu-plugins folder.
    Nada, Niente, nor Caliente! it does no longer map :(

    Hope you have an idea what to do, besides to start from scratch a 3.1 and re-multisite it.

  2. You haven't given any details about what is not working other than "it does no longer map"

    Kinda hard to help there.

    Reinstalling multisite will probably not help. this isn't Windows on your desktop. An upgrade is the same as a reinstall (essentially).

    And did you *network activate* the domain mapping plugin?

  3. mistermagoo
    Member
    Posted 3 years ago #

    Hi, sorry for the delay.

    Well, I had network activated "wp-domain mapping" plugin before and now, but I also tryed in normal mode, and within the mu plugin folder.

    Before the second update it was working fine when I added a domain. I could easily change the parameters so that the domain will be mapped and access it's dashboard.

    IE: changing from : parksite.multisite.com … to: parksite.com

    Then, when you open the section "sites", it clearly shows which sites are mapped, because they appear under the column "mapped sites".

    And if I try to open the dashboard of that new mapped site, it opens the multisite login window again in loop –impossible to access the dashboard of it.
    Strangely the previous mapped sites are working, just the new ones are not mapped correctly.

    Hope I provided a better explenation than just: "it doesn't map anymore".
    :)

  4. mistermagoo
    Member
    Posted 3 years ago #

    Well, I re-installed multisite with a fresh 3.1 installation with a new database. Now the domains mapping menu in settings does not work, but looks like the domains are mapped now: I can see it online with the right domain name, but unfortunately not possible to login to the mapped site. The login window loops.
    I tried several times, with new user and password. Nothing, allways in loop.

    Hope you know what is happening.

  5. mistermagoo
    Member
    Posted 3 years ago #

    Well,

    Because I have seen tons of threads going the same direction, I decided to go back to 3.05, where I can without problems have my multisite running perfectly.
    I guess 3.1 or the mapping plugin are not alpha but still in beta.

    Hope it will get fixed soon, because 3.1 looks realy cool.

  6. Neither 3.1 nor the domain mapping plugin are in beta. They are full releases.

  7. yayitswei
    Member
    Posted 3 years ago #

    I believe I'm having a similar problem. After upgrading to 3.1, redirects still seem to work but I no longer see the [edit] buttons on posts. I discovered that is_user_logged_in() returns false on all domains except for the main domain (blog 1). $current_user is also undefined. Domain mapping fail? Does anyone have a solution to this?

    Not sure if it's related, but I also noticed the Domain Mapping options got moved from the Super Admin panel to Tools > Domain Mapping on the Single Site Options rather than Network Options.

  8. Upgrade the plugin. I can tell you do not have the most recent version by the location of the menu.

  9. yayitswei
    Member
    Posted 3 years ago #

    Great! Thanks for the suggestion, I just upgraded. Unfortunately that didn't fix the problem of the admin bar/edit links missing when I visit my network sites. Any other ideas? Thanks!

  10. Are you logged in to the other sites?

    That edit link only shows when you;re logged in.

  11. yayitswei
    Member
    Posted 3 years ago #

    Previously, I could log in to WordPress from any site and it showed the edit link on all sites.

  12. Did the remote login option under Domain mapping get UNchecked?

    Cuz that's what that options does, keeps you logged in.

  13. yayitswei
    Member
    Posted 3 years ago #

    Nope it's definitely checked. The first four options are checked, and the fifth is unchecked.

    Is there anything else I could check? Not opposed to writing debugging code if you can suggest a direction to look..

  14. Do you have any cookies set in your config file?

  15. yayitswei
    Member
    Posted 3 years ago #

    I don't think so. I just changed the keys via https://api.wordpress.org/secret-key/1.1/salt/ to be sure, and the problem still persists.

  16. Update your rewrite rules, they did change slightly.

    Go to Network Admin -> network setup.

  17. yayitswei
    Member
    Posted 3 years ago #

    That didn't fix the problem, but thanks for the heads up.

  18. yayitswei
    Member
    Posted 3 years ago #

    I feel bad for extending this thread so long, but do you have any other ideas? If not, I'll table it for now and look into it a couple weeks from now.

    Thanks for the help!

  19. No, no further ideas.

    Did you go to one of those secondary sites and login? It's possible your login cookie expired.

  20. yayitswei
    Member
    Posted 3 years ago #

    I don't think it's cookie expiration, since if I go to http://www.secondarysite.com/wp-admin, it redirects me successfully to the dashboard at http://www.primarysite.com/secondarysite/wp-admin without having to log. My problem is that while browsing http://www.secondarysite.com, I used to be able to see the admin bar as well as Edit links to jump directly to a particular post, and those have disappeared.

  21. they have disappeared because you are not logged in to the http://www.secondarysite.com domain.

  22. yayitswei
    Member
    Posted 3 years ago #

    Is there a way to log on to all the domains at once?

  23. I usually just go to each domain and log in.

  24. yayitswei
    Member
    Posted 3 years ago #

    That still doesn't work for me since each secondary site's login redirects to primarysite.com/secondarysite/wp-admin

  25. Nope it's definitely checked. The first four options are checked, and the fifth is unchecked.

    Since I do not have those options in front of me, can you list them?

    You pretty much have to fiddle with them so you can login to the actual domain.

    Really, we're just talking a cookie issue here.

  26. yayitswei
    Member
    Posted 3 years ago #

    Here's a screenshot of the page: http://yayitswei.posterous.com/domain-settings

    If it's really just a cookie issue, could I inspect the cookie to make sure it looks correct?

  27. could I inspect the cookie to make sure it looks correct?

    yes.

  28. yayitswei
    Member
    Posted 3 years ago #

    Which cookie am I looking for? There seems to be more than one.

    This is my site-- and I made a guest account so you all can try to log in and inspect the cookie.

    username: guest
    pw: guest

  29. yayitswei
    Member
    Posted 3 years ago #

    Thanks for the help, btw

  30. yayitswei
    Member
    Posted 3 years ago #

    actually-- nevermind.. the problem seems to have gone away!

Topic Closed

This topic has been closed to new replies.

About this Topic