WordPress.org

Ready to get started?Download WordPress

Forums

SiteTree
[resolved] XML Parsing Error (11 posts)

  1. everwill
    Member
    Posted 1 year ago #

    When I click enable and then try to view the sitemap, I get the following error:

    XML Parsing Error: no element found
    Location: http://othersitecom.mysite.com/sitemap.xml
    Line Number 1, Column 1:

    mysite.com = my parent site in MU,
    othersitecom = my subdomain for childsite othersite.com same MU install

    http://wordpress.org/extend/plugins/sitetree/

  2. Luigi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    once upgraded to version 1.5, try to rebuild the sitemap (clicking on the "Rebuild" button), visit it and then, check the error log file of your server. Are there any errors related to SiteTree?

    I need the actual URL to your sitemap, too.

  3. everwill
    Member
    Posted 1 year ago #

    Upgraded.

    Is the actual URL something other than nesbittrealty.com/sitemap.xml?

    How / where do I check my error log file?

  4. everwill
    Member
    Posted 1 year ago #

    Upgraded again. New error:

    XML Parsing Error: mismatched tag. Expected: </meta>.
    Location: http://nesbittrealty.com/sitemap.xml
    Line Number 64, Column 11:</style></head><body><div id="cont"><h1>

    I'll leave it up for 24 hours or so, so you can look at it if you like.

  5. everwill
    Member
    Posted 1 year ago #

    I deleted a sitemap.xml file that another tool created and the sitemap fired up. Now I'm getting errors on my other MU sitemaps.

    Here are a few links:

    http://condo-alexandria.com/sitemap.xml/

    http://fort-hunt.info/sitemap.xml

    Clues?

  6. Luigi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    there's a plugin you are using or a rewrite rule hardcoded in your theme that forces a trailing slash in the Sitemap URL. If you fix it, the Sitemap will show up flawlessly.

  7. everwill
    Member
    Posted 1 year ago #

    I've deactivated all but my most essential plugins and there is not change in results. Is it possible to write an error check into the plugin that will correct this. This will account for many people in many different uses as well.

  8. Luigi
    Member
    Plugin Author

    Posted 1 year ago #

    After you have deactivated the other plugins, try to deactivate and reactivare SiteTree (this will force the rewrite rules to flush) but, as suggested before, It isn't a plugin related issue, there's a conflict or a misconfiguration in your setup.

  9. everwill
    Member
    Posted 1 year ago #

    Done. No change.

    I believe you 100% when you say it's not related to your plugin and is related to my environment. What I'm saying is that many people will have issues with their environment and if you can write a error checking / debug snippet or routine you might make it easier for users who are even less savvy than I.

  10. Luigi
    Member
    Plugin Author

    Posted 1 year ago #

    I understand what you are writing and what you are pointing out is one of the reasons why with every version I'm making the plugin more error aware.

    However, this specific issue can't be easily traced and debugged with just a snippet of code (otherwise I would have wrote it down from the start) and because it doesn't related to the plugin itself, it requires the debugging of your WordPress installation to be fixed.

  11. everwill
    Member
    Posted 1 year ago #

    I'd love to use the plugin and I'd love to give a donation, but for now it appears that I am dead in the water.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic