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] => 309,[name] => Improved Cipriani Bring Competition to Sale,[template_id] => 7,[page_id] => 279,[dataCache] => {"pagedata":{"title_1":{"id":"669","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"309","content":"Improved Cipriani Bring Competition to Sale","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:37:00"}},"textarea_1":{"id":"800","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"309","contentHtml":"

I played with Danny Cipriani in an Under-19s Divisional match, for the South East against the North.<\/p>\r\n

Even then his talent for front-foot rugby was crystal clear.<\/p>\r\n

When Danny played ten it was great for us wingers, because you knew you would get a lot of ball.<\/p>\r\n

He has always favoured a miss-pass and a wide ball<\/a>, and he’s great at bringing strike runners into play.<\/p>\r\n

Adam Powell and Dom Waldouck played in that game too, and we had a pretty awesome team.<\/p>\r\n

I can’t remember the score but I do remember we took the North apart, and that was pretty rare for those kinds of games.<\/p>\r\n

It will be exciting times with him coming to Sale next season, that’s for sure.<\/p>\r\n

Playing in the Southern Hemisphere<\/a> will have improved him as a player and he will add another great level of competition for us.<\/p>\r\n

But he won’t just walk in here and waltz into the team.<\/p>\r\n

I’m sure he knows that, but there’s no doubt Steve Diamond is not going to reward anyone with starts who does not show desire and commitment.<\/p>\r\n

Nick Macleod and Rob Miller have been two of our best players this season, and they play the two main positions that Danny covers.<\/p>\r\n

Macca at ten and Rob at full-back, neither man will just be willing to shift aside and let Danny take their shirt, and neither should they.<\/p>\r\n

Competition is vital for any successful team, and it’s no different here.<\/p>\r\n

Danny is a big character and everyone is well aware of everything that’s happened with him in the past.<\/p>\r\n

But Steve Diamond is a very forceful character himself, and I think he backs himself to help players of a similar ilk find a niche for themselves.<\/p>\r\n

He did that with Andy Powell, and so far so good on that front.<\/p>\r\n

Andy’s a great player and a good bloke, and I think he’s settled into life at Sale pretty well.<\/p>\r\n

And I can definitely see Dimes getting the same kind of response out of Danny next season.<\/p>\r\n


\r\n

Read about Edgeley Park on our Sale Sharks club page<\/a><\/em><\/p>\r\n


\r\n

Buy rugby shirts, boots and equipments at <\/em>Lovell Rugby<\/a><\/p>\r\n

 <\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:50:50"}},"textarea_rss":{"id":"801","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"309","contentHtml":"I played with Danny Cipriani in an Under-19s Divisional match, for the South East against the North.\r\n\r\nEven then his talent for front-foot rugby was crystal clear.\r\n\r\nWhen Danny played ten it was great for us because you knew you would get a lot of ball.","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:55:11"}},"image_1":{"id":"497","tableName":"page_images","idColumnName":"id","columns":{"page_id":"309","src":"\/library\/images\/CharlieAmesburyCrop.jpg","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:50:50"}},"meta_description":{"id":"1841","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"309","content":"Charlie Amesbury says it is good news for the wingers the improved Danny Cipriani comes to Sale Sharks from Melbourne Reds.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:55:11"}},"meta_keywords":{"id":"1842","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"309","content":"Danny Cipriani | Sale Sharks | Melbourne Reds | Charlie Amesbury | rugby blog | rugby blogs | rugby news | rugby tickets | Andy Powell |","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:55:11"}},"meta_title":{"id":"1839","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"309","content":"Improved Cipriani Bring Competition to Sale","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:37:00"}},"summary":{"id":"1045","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"309","linkText":"Improved Cipriani Bring Competition to Sale","content":"

I played with Danny Cipriani in an Under-19s Divisional match, for the South East against the North.<\/p>\r\n

Even then his talent for front-foot rugby was crystal clear.<\/p>\r\n

When Danny played ten it was great for us wingers, because you knew you would get a lot of ball.<\/p>\r\n","thumbnailSrc":"\/library\/images\/CharlieAmesburyCrop.jpg","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:55:11"}},"url":{"id":"639","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"309","segment":"improved-cipriani-bring-competition-to-sale","fullURL":"blogs\/charlie-amesbury\/2012\/03\/improved-cipriani-bring-competition-to-sale","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-03-27 11:37:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-03-27 11:37:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 46,[liveURL] => blogs/charlie-amesbury/2012/03/improved-cipriani-bring-competition-to-sale,[shortURL] => http://goo.gl/5gD0F,[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] => 03,[4] => improved-cipriani-bring-competition-to-sale),[lookingForURL] => blogs/charlie-amesbury/2012/03/improved-cipriani-bring-competition-to-sale)) called at [/home/living01/public_html/index.php:379]