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

Silverstripe 3.0 Googlesitemap Empty


Reply

13 Posts   1177 Views

Avatar
secuaz

26 April 2013 at 10:47pm Community Member, 21 Posts

Thanks for your reply Willr,

I ran a dev/build/?flush=all but i still get the same.

Any suggestions or links I should look at?

Thanks again for the support.

Avatar
secuaz

27 April 2013 at 1:17am (Last edited: 27 April 2013 1:20am), Community Member, 21 Posts

Hi all,

When going to: http://www.thesite.co.uk/sitemap.xml/sitemap/sitetree/1

and I get:

[User Error] Couldn't run query: SELECT DISTINCT "sitetree"."ClassName", "sitetree"."Created", "sitetree"."LastEdited", "sitetree"."URLSegment", "sitetree"."Title", "sitetree"."MenuTitle", "sitetree"."Content", "sitetree"."MetaTitle", "sitetree"."MetaDescription", "sitetree"."MetaKeywords", "sitetree"."ExtraMeta", "sitetree"."ShowInMenus", "sitetree"."ShowInSearch", "sitetree"."Sort", "sitetree"."HasBrokenFile", "sitetree"."HasBrokenLink", "sitetree"."ReportClass", "sitetree"."CanViewType", "sitetree"."CanEditType", "sitetree"."Version", "sitetree"."ParentID", "sitetree"."ID", CASE WHEN "sitetree"."ClassName" IS NOT NULL THEN "sitetree"."ClassName" ELSE 'sitetree' END AS "RecordClassName" FROM "sitetree" ORDER BY "sitetree"."Sort" ASC LIMIT 1000 Table 'safari_feb.sitetree' doesn't exist

The error mentions 'thesite.sitetree' doesn't exist.

thesite is the name of the database.

This means the GoogleSitemapController is not finding sitetree????

I am lost in what to try next :S

Thanks in advnacee!! :)

Avatar
Slim-Jim

29 May 2013 at 6:26am Community Member, 4 Posts

Got the same prob here too.
Can't get sitemap.xml to display anything other than:

<sitemapindex>

<sitemap>

<loc>
http://www.my-site.com/sitemap.xml/sitemap/SiteTree/1

</loc>

<lastmod>2013-05-26</lastmod>

</sitemap>

</sitemapindex>

will keep looking but any help appreciated.
Getting thin on new ideas. :-(

Avatar
Willr

29 May 2013 at 1:04pm Forum Moderator, 5511 Posts

Guys, this is an index file. It links to your actual sitemap file (go to http://www.my-site.com/sitemap.xml/sitemap/SiteTree/1)

Avatar
Slim-Jim

29 May 2013 at 9:47pm Community Member, 4 Posts

ah ok!

Sorry!

Thanks Willr.