Jump to:

23355 Posts in 17873 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Couldn't run query: SELECT `SiteTree_versions`.RecordID FROM `SiteTree_lang_versions`

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 903 Views
  • SunboX
    Avatar
    Community Member
    5 Posts

    Couldn't run query: SELECT `SiteTree_versions`.RecordID FROM `SiteTree_lang_versions` Link to this post

    Why do i get this error message?

    [User Error] Couldn't run query: SELECT `SiteTree_versions`.RecordID FROM `SiteTree_lang_versions` INNER JOIN `SiteTree_versions` ON `SiteTree_lang_versions`.OriginalLangID = `SiteTree_versions`.ID LEFT JOIN `GhostPage_versions` ON `GhostPage_versions`.ID = `SiteTree_lang_versions`.OriginalLangID LEFT JOIN `ErrorPage_versions` ON `ErrorPage_versions`.ID = `SiteTree_lang_versions`.OriginalLangID LEFT JOIN `RedirectorPage_versions` ON `RedirectorPage_versions`.ID = `SiteTree_lang_versions`.OriginalLangID LEFT JOIN `VirtualPage_versions` ON `VirtualPage_versions`.ID = `SiteTree_lang_versions`.OriginalLangID WHERE (`SiteTree_lang_versions`.Lang = 'en') AND (`SiteTree_versions`.`WasPublished` = 1 AND `URLSegment` = 'home') ORDER BY `LastEdited` DESC, `SiteTree_versions`.`WasPublished` LIMIT 1 Column 'URLSegment' in where clause is ambiguous

    903 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.