23007 Posts in 11866 Topics by 2828 members
|Go to End|
20 July 2010 at 11:53am Last edited: 20 July 2010 12:09pm
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
20 July 2010 at 12:10pm
Ignore the above! Fixed now....unbelievable! It was simple as the home page not being properly published through the cms.
|Go to Top|