Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

googlesitemaps module doesn't work with subsites module


4 Posts   1678 Views


22 April 2009 at 6:19am Community Member, 52 Posts

The subsites module does not work with googlesitemaps.
I try visiting and get:

XML Parsing Error: mismatched tag. Expected: </img>.
Line Number 1, Column 1256:<!DOCTYPE html><html><head><title>GET /sitemap.xml</title><style type="text/css">body { background-color:#eee; margin:0; padding:0; font-family:Helvetica,Arial,sans-serif; }.info { border-bottom:1px dotted #333; background-color:#ccdef3; margin:0; padding:6px 12px; }.info h1 { margin:0; padding:0; color:#333; letter-spacing:-2px; }.header { margin:0; border-bottom:6px solid #ccdef3; height:23px; background-color:#666673; padding:4px 0 2px 6px; background-image:url(; }.trace { padding:6px 12px; }.trace li { font-size:14px; margin:6px 0; }pre { margin-left:18px; }pre span { color:#999;}pre .error { color:#f00; }.pass { margin-top:18px; padding:2px 20px 2px 40px; color:#006600; background:#E2F9E3 url( no-repeat scroll 7px 50%; border:1px solid #8DD38D; }.fail { margin-top:18px; padding:2px 20px 2px 40px; color:#C80700; background:#FFE9E9 url( no-repeat scroll 7px 50%; border:1px solid #C80700; }.failure span { color:#C80700; font-weight:bold; }</style></head><body><div class="header"><img src="" width="26" height="23"></div><div class="info error"><h1>[User Error] Couldn't run query:

Anyone have any ideas?


29 April 2009 at 10:54pm Community Member, 2 Posts

Having the same problem... got googlemaps running OK, then installend subsites, and now that is working but googlesitemaps isn't anymore.


30 May 2009 at 10:24am Community Member, 27 Posts

OK I'm also having this issue, silverstripe appears to be complaining that Page_Live doesn't exist (which it shouldn't), here is the sql query it dumps out in dev mode. Anyone know how to fix this?

SELECT `SiteTree_Live`.*, `Page_Live`.*, `GhostPage_Live`.*, `ErrorPage_Live`.*, `RedirectorPage_Live`.*, `VirtualPage_Live`.*, `SiteTree_Live`.ID, if(`SiteTree_Live`.ClassName,`SiteTree_Live`.ClassName,'SiteTree') AS RecordClassName
FROM `SiteTree_Live`
LEFT JOIN `Page_Live` ON `Page_Live`.ID = `SiteTree_Live`.ID
LEFT JOIN `GhostPage_Live` ON `GhostPage_Live`.ID = `SiteTree_Live`.ID
LEFT JOIN `ErrorPage_Live` ON `ErrorPage_Live`.ID = `SiteTree_Live`.ID
LEFT JOIN `RedirectorPage_Live` ON `RedirectorPage_Live`.ID = `SiteTree_Live`.ID
LEFT JOIN `VirtualPage_Live` ON `VirtualPage_Live`.ID = `SiteTree_Live`.ID
WHERE (`SiteTree_Live`.SubsiteID IN (0)) AND (`SiteTree_Live`.SubsiteID IN (0))


5 June 2009 at 3:55am Community Member, 27 Posts

So I just tried this with silverstripe 2.3.2 RC2 it works a bit better (atleast no error) but the sitemap is empty. Anyone have any thoughts?