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] => 336,[name] => Heineken Cup Qualification In Sharks Hands,[template_id] => 7,[page_id] => 279,[dataCache] => {"pagedata":{"title_1":{"id":"700","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"336","content":"Heineken Cup Qualification In Sharks Hands","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 17:54:00"}},"textarea_1":{"id":"884","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"336","contentHtml":"

Heineken Cup qualification is in our own hands after our great win at Gloucester.<\/p>\r\n

Winning at Kingsholm is up there with Welford Road as one of the toughest asks in the Premiership.<\/p>\r\n

And there has definitely been a spring in the lads’ step at training since that victory.<\/p>\r\n

But the job is not done yet, and we need to produce a top-level performance against Harlequins now.<\/p>\r\n

Quins will be desperate for a result so that they can secure a home semi-final in the play-offs.<\/p>\r\n

In some ways there’s more pressure on them for this game, and I think that could make us very dangerous.<\/p>\r\n

The shackles could be off a little, as we have had some good results and are in a good position.<\/p>\r\n

While the job is not complete and no one is getting carried away, there’s a good feeling and we’re ready to take that final step.<\/p>\r\n

When a team gets onto a roll sometimes an edge of pressure is taken away, because you just feel like you can keep going in the same vein.<\/p>\r\n

And that can make a side all the more difficult to come up against.<\/p>\r\n

Hopefully that’s where we are, and I think that if we hit our stride then we will definitely be a force to be reckoned with.<\/p>\r\n

Securing Heineken Cup rugby would mean we had hit the aim for the season.<\/p>\r\n

That would be a great jumping-off point for next year, but as I said, no one is getting ahead of themselves and thinking that the job is already done.<\/p>\r\n

We are nearly there, but still not quite – one more big effort and hopefully we can end the season and our time at Edgeley Park in some style.<\/p>\r\n


\r\n

Go to see Sale Sharks at Edgeley Park, follow our guide and get tickets<\/a> online in advance.<\/em><\/p>\r\n


\r\n\r\n

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

 <\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 18:00:47"}},"textarea_rss":{"id":"885","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"336","contentHtml":"Heineken Cup qualification is in our own hands after our great win at Gloucester.\r\n\r\nWinning at Kingsholm is up there with Welford Road as one of the toughest asks in the Premiership.\r\n\r\nAnd there has definitely been a spring in the lads\u0092 step at training...","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 18:04:31"}},"image_1":{"id":"525","tableName":"page_images","idColumnName":"id","columns":{"page_id":"336","src":"\/library\/images\/CharlieAmesburyCrop.jpg","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 18:00:47"}},"meta_description":{"id":"1955","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"336","content":"Charlie Amesbury says Heineken Cup qualification is in Sale Sharks' own hands after win at Gloucester in his rugby blug on final Premiership round.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 18:04:31"}},"meta_keywords":{"id":"1956","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"336","content":"Rugby blog | Rugby blogs | Rugby news | Rugby fixtures | Rugby results | Aviva Premiership | Premiership Rugby | Charlie Amesbury | Sale Sharks | Harlequins | Gloucester | Leicester | Welford Road | Kingsholme | Edgeley Park | Heineken Cup qualification","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 18:04:31"}},"meta_title":{"id":"1953","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"336","content":"Heineken Cup Qualification In Sharks Hands","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 17:54:00"}},"summary":{"id":"1136","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"336","linkText":"Heineken Cup Qualification In Sharks Hands","content":"

Heineken Cup qualification is in our own hands after our great win at Gloucester.<\/p>\r\n

Winning at Kingsholm is up there with Welford Road as one of the toughest asks in the Premiership.<\/p>\r\n

And there has definitely been a spring in the lads’ step at training since that victory.<\/p>\r\n","thumbnailSrc":"","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 18:04:31"}},"url":{"id":"666","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"336","segment":"heineken-cup-qualification-in-sharks-hands","fullURL":"blogs\/charlie-amesbury\/2012\/05\/heineken-cup-qualification-in-sharks-hands","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-05-04 17:54:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-05-04 17:54:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 44,[liveURL] => blogs/charlie-amesbury/2012/05/heineken-cup-qualification-in-sharks-hands,[shortURL] => http://goo.gl/mWqnC,[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] => 05,[4] => heineken-cup-qualification-in-sharks-hands),[lookingForURL] => blogs/charlie-amesbury/2012/05/heineken-cup-qualification-in-sharks-hands)) called at [/home/living01/public_html/index.php:379]