Read Database Error:
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 'group by CONCAT (YEAR(posts.releaseDateTime),'-', MONTH(posts.releaseDateTime)) ' at line 1

Write Database Error:

Last Query:
SELECT YEAR(posts.releaseDateTime) as PostYear, MONTH(posts.releaseDateTime) as PostMonth, count(posts.id) as PostCount , blogs.liveURL as blogURL FROM (pages as blogs inner join pages as posts on blogs.id=posts.page_id) inner join templates on posts.template_id=templates.id where templates.tag ='blogpost' and blogs.isArchived=0 and blogs.isEnabled = 1 and blogs.releaseDateTime <= NOW() and (blogs.expiryDateTime >= Now() or blogs.expiryDateTime = 0) and posts.isArchived=0 and posts.isEnabled = 1 and posts.releaseDateTime <= NOW() and (posts.expiryDateTime >= Now() or posts.expiryDateTime = 0) and blogs.id = group by CONCAT (YEAR(posts.releaseDateTime),'-', MONTH(posts.releaseDateTime)) order by posts.releaseDateTime desc

#0  Database->notify() called at [/home/living01/public_html/_core/class.database.php:132]
#1  Database->query(SELECT YEAR(posts.releaseDateTime) as PostYear, MONTH(posts.releaseDateTime) as PostMonth, count(posts.id) as PostCount  , blogs.liveURL as blogURL   FROM (pages as blogs inner join pages as posts on blogs.id=posts.page_id) inner join templates on posts.template_id=templates.id  where  templates.tag ='blogpost'  and blogs.isArchived=0 and blogs.isEnabled = 1 and blogs.releaseDateTime <= NOW() and (blogs.expiryDateTime >= Now() or blogs.expiryDateTime = 0) and posts.isArchived=0 and posts.isEnabled = 1 and posts.releaseDateTime <= NOW() and (posts.expiryDateTime >= Now() or posts.expiryDateTime = 0)  and blogs.id =   group by CONCAT (YEAR(posts.releaseDateTime),'-', MONTH(posts.releaseDateTime)) order by posts.releaseDateTime desc) called at [/home/living01/public_html/_core/class.database.php:288]
#2  Database->resulter(SELECT YEAR(posts.releaseDateTime) as PostYear, MONTH(posts.releaseDateTime) as PostMonth, count(posts.id) as PostCount  , blogs.liveURL as blogURL   FROM (pages as blogs inner join pages as posts on blogs.id=posts.page_id) inner join templates on posts.template_id=templates.id  where  templates.tag ='blogpost'  and blogs.isArchived=0 and blogs.isEnabled = 1 and blogs.releaseDateTime <= NOW() and (blogs.expiryDateTime >= Now() or blogs.expiryDateTime = 0) and posts.isArchived=0 and posts.isEnabled = 1 and posts.releaseDateTime <= NOW() and (posts.expiryDateTime >= Now() or posts.expiryDateTime = 0)  and blogs.id =   group by CONCAT (YEAR(posts.releaseDateTime),'-', MONTH(posts.releaseDateTime)) order by posts.releaseDateTime desc) called at [/home/living01/public_html/_core/class.database.php:199]
#3  Database->getRows(SELECT YEAR(posts.releaseDateTime) as PostYear, MONTH(posts.releaseDateTime) as PostMonth, count(posts.id) as PostCount  , blogs.liveURL as blogURL   FROM (pages as blogs inner join pages as posts on blogs.id=posts.page_id) inner join templates on posts.template_id=templates.id  where  templates.tag ='blogpost'  and blogs.isArchived=0 and blogs.isEnabled = 1 and blogs.releaseDateTime <= NOW() and (blogs.expiryDateTime >= Now() or blogs.expiryDateTime = 0) and posts.isArchived=0 and posts.isEnabled = 1 and posts.releaseDateTime <= NOW() and (posts.expiryDateTime >= Now() or posts.expiryDateTime = 0)  and blogs.id =   group by CONCAT (YEAR(posts.releaseDateTime),'-', MONTH(posts.releaseDateTime)) order by posts.releaseDateTime desc) called at [/home/living01/public_html/_siteapp/logic/class.blog.php:439]
#4  Blog->blogArchive() called at [/home/living01/public_html/_siteapp/controllers/controller.blogpost.php:23]
#5  require(/home/living01/public_html/_siteapp/controllers/controller.blogpost.php) called at [/home/living01/public_html/_siteapp/templates/desktop/template.blogpost.php:3]
#6  include(/home/living01/public_html/_siteapp/templates/desktop/template.blogpost.php) called at [/home/living01/public_html/_siteapp/logic/class.render.php:325]
#7  Render::template(blogpost) called at [/home/living01/public_html/_siteapp/logic/class.render.php:308]
#8  Render::populate(Array ([id] => 392,[name] => Relishing Pre-Season Game Time At Sale,[template_id] => 7,[page_id] => 279,[dataCache] => {"pagedata":{"title_1":{"id":"792","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"392","content":"Relishing Pre-Season Game Time At Sale","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 07:51:00"}},"textarea_1":{"id":"1107","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"392","contentHtml":"

After a long pre-season of conditioning and hard work, the temptation is always to wish for the Premiership to hurry up and start.
\r\n
\r\nBut I am relishing the warm-up fixtures because hopefully it’s a great chance to get some games under my belt.
\r\n
\r\nI had a few injury issues last year but they are all solved now thankfully.
\r\n
\r\nAnd also it was tough to break into the first team regularly because of the competition for places.
\r\n
\r\nSo any opportunity to get on the field and show what you can do, you’ve got to grab when you can.
\r\n
\r\nWe’ve got a new director of rugby in Bryan Redpath, and he’s made a great impact.
\r\n
\r\nHe’s very open and approachable, and he keeps us up to speed with what’s happening.
\r\n
\r\nHe’s been very clear that everyone will have their chance to prove their worth, but the key to that is not wasting those opportunities when they come.
\r\n
\r\nWe might have a new coach but it’s not a clean slate because the majority of the squad is the same as it was last year, and we had a strong season.
\r\n
\r\nSo we were obviously doing a lot of things right, and we have some great personnel in the side.
\r\n
\r\nMy goal for the season is to break into that starting line-up on a regular basis.
\r\n
\r\nBut everyone in the squad has that very same aim, which makes things very competitive, and with the quality we have in our ranks that ought to stand us in great stead.
\r\n
\r\nExcitement always runs high at this time of year, but if we can pick up where we left as well as build in the new elements we’ve worked on too, then hopefully we’ll be justified in being in high spirits about the new season.<\/p>\r\n


\r\n

Like the Living Rugby facebook page<\/a>.<\/p>\r\n

Read other Living Rugby blogs.<\/p>\r\n

Sale Sharks season tickets<\/a> available from £199 (adults).<\/p>\r\n

<\/a> <\/p>\r\n

<\/a> <\/p>\r\n

 <\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 07:56:35"}},"textarea_rss":{"id":"1108","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"392","contentHtml":"Charlie Amesbury says he has got rid of all of last season's injuries and is enjoying game time before the regular season starts in his latest Living Rugby blog.","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 08:05:08"}},"image_1":{"id":"595","tableName":"page_images","idColumnName":"id","columns":{"page_id":"392","src":"","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 08:05:08"}},"meta_description":{"id":"2198","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"392","content":"Rugby blog by Charlie Amesbury on pre-season training at Sale Sharks ahead of the Aviva Premiership.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 08:05:08"}},"meta_keywords":{"id":"2199","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"392","content":"Charlie Amesbury | Sale Sharks | Bryan Redpath | Aviva Premiership | pre-season | rugby | rugby blog | rugby blogs","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 08:05:08"}},"meta_title":{"id":"2196","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"392","content":"Relishing Pre-Season Game Time At Sale","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 07:51:00"}},"summary":{"id":"1400","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"392","linkText":"Relishing Pre-Season Game Time At Sale","content":"

\r\n\t"The temptation is always to wish for the Premiership to hurry up and start"<\/h2>\r\n

Charlie Amesbury says he has got rid of all of last season's injuries and is enjoying game time before the regular season starts.<\/p>\r\n","thumbnailSrc":"\/library\/images\/CharlieAmesburyCrop.jpg","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 20:07:02"}},"url":{"id":"751","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"392","segment":"relishing-pre-season-game-time-at-sale","fullURL":"blogs\/charlie-amesbury\/2012\/08\/relishing-pre-season-game-time-at-sale","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-08-16 07:51:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-08-16 07:51:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 40,[liveURL] => blogs/charlie-amesbury/2012/08/relishing-pre-season-game-time-at-sale,[shortURL] => http://goo.gl/yS3Aj,[canDelete] => 1,[isSystem] => 0,[canHaveChildren] => 1,[isDefaultPage] => 0,[is404Page] => 0,[isEnabled] => 1,[isArchived] => 0,[isNavigation] => 1,[navigationCallBack] => ,[pendingList] => ,[templatePlaceholders] => {"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}},[templateName] => blogpost,[URLSegments] => Array ([0] => blogs,[1] => charlie-amesbury,[2] => 2012,[3] => 08,[4] => relishing-pre-season-game-time-at-sale),[lookingForURL] => blogs/charlie-amesbury/2012/08/relishing-pre-season-game-time-at-sale)) called at [/home/living01/public_html/index.php:379]