Jump to:

22975 Posts in 11620 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Nasty error on home page only

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: 713 Views
  • Mitz
    Avatar
    Community Member
    9 Posts

    Nasty error on home page only Link to this post

    Hi guys,

    Have a nasty error showing up just for the home page I'm working on with Silverstripe. Friendly error just says: website server could not respond to your request: www.fxmed.co.nz/silverstripe/

    Other pages within the site working fine, eg. http://www.fxmed.co.nz/silverstripe/nordic-naturals/

    Below is the error I get on the home page when I plug in http://www.fxmed.co.nz/silverstripe/?isDev=1.

    Any ideas? Thanks for your help.

    User Error] Couldn't run query: SELECT `SiteTree_Live`.*, `Page_Live`.*, `BlogEntry_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 `BlogEntry_Live` ON `BlogEntry_Live`.ID = `SiteTree_Live`.ID WHERE (ParentID = ) AND (`SiteTree_Live`.ClassName IN ('BlogEntry')) ORDER BY Date DESC LIMIT 4 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (`SiteTree_Live`.ClassName IN ('BlogEntry')) ORDER BY Date DESC LIMIT 4' at line 1
    GET /silverstripe/?isDev=1

  • Mitz
    Avatar
    Community Member
    9 Posts

    Re: Nasty error on home page only Link to this post

    Ignore the above! Fixed now....unbelievable! It was simple as the home page not being properly published through the cms.

    713 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.