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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Silverstripe 3.0 Googlesitemap Empty


Go to End


13 Posts   3378 Views

Avatar
secuaz

Community Member, 24 Posts

26 April 2013 at 10:47pm

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

Community Member, 24 Posts

27 April 2013 at 1:17am

Edited: 27/04/2013 1:20am

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

Community Member, 4 Posts

29 May 2013 at 6:26am

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

Forum Moderator, 5523 Posts

29 May 2013 at 1:04pm

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

Community Member, 4 Posts

29 May 2013 at 9:47pm

ah ok!

Sorry!

Thanks Willr.

Go to Top