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] => 340,[name] => Off-Season Operation,[template_id] => 7,[page_id] => 279,[dataCache] => {"pagedata":{"title_1":{"id":"704","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"340","content":"Off-Season Operation","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 06:52:00"}},"textarea_1":{"id":"895","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"340","contentHtml":"

The end of the season does not mean a rest for me.<\/p>\r\n

I’ve got an operation coming up to have my appendix removed – and I’ve got three university exams.<\/p>\r\n

I had appendicitis in January, but there were complications that meant it could not be removed then.<\/p>\r\n

So the doctors decided the best thing to do would be to wait until the end of the rugby season.<\/p>\r\n

So that’s in store for now, and hopefully I will be able to recover from that and be fit for pre-season with Sale.<\/p>\r\n

Most of my team mates will be making the most of the break, getting away on holiday, and I don’t blame them.<\/p>\r\n

But I’ve got plenty to keep me busy – and at least during the recuperation from the operation I can hit the books.<\/p>\r\n

The main feeling at the end of our season was satisfaction at a job well done in qualifying for the Heineken Cup.<\/p>\r\n

Losing to Harlequins at home was a frustration, but it turned out we’d already done enough to finish sixth.<\/p>\r\n

That’s a good feeling – but now we know we’ve got to prove ourselves worthy of the Heineken Cup place, and prove we’re capable of progressing at that level.<\/p>\r\n

Our pre-season starts pretty early on June 6, but we’ll have the odd week or few days off as it progresses, to allow what seems like it will be a decent balance.<\/p>\r\n

Pre-season is always tough, but after the campaign we’ve had and with the exciting new signings on the way, everyone will be looking forward to getting down to hard work.<\/p>\r\n


\r\n

Follow Charlie Amesbury<\/a> on twitter to find out how his off-season op goes (@charlieamesbury<\/a>).<\/em><\/p>\r\n

Of course we will have regular updates here too.<\/em><\/p>\r\n


\r\n\r\n

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

 <\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 07:04:14"}},"textarea_rss":{"id":"896","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"340","contentHtml":"The end of the season does not mean a rest for me.\r\n\r\nI\u0092ve got an operation coming up to have my appendix removed \u0096 and I\u0092ve got three university exams.\r\n\r\nI had appendicitis in January, but there were complications that meant it could not be removed then.","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 07:10:06"}},"image_1":{"id":"531","tableName":"page_images","idColumnName":"id","columns":{"page_id":"340","src":"\/library\/images\/CharlieAmesburyCrop.jpg","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 07:04:14"}},"meta_description":{"id":"1975","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"340","content":"Charlie Amesbury says he will spend the off-season having his appendix removed and reading books before returning to Sale for pre-season training.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 07:10:06"}},"meta_keywords":{"id":"1976","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"340","content":"Rugby blog | Rugby blogs | Rugby news | Rugby fixtures | Rugby results | Aviva Premiership | Premiership Rugby | Charlie Amesbury | Sale Sharks | Heineken Cup | off-season | pre-season","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 07:10:06"}},"meta_title":{"id":"1973","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"340","content":"Off-Season Operation","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 06:52:00"}},"summary":{"id":"1151","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"340","linkText":"Off-Season Operation","content":"

The end of the season does not mean a rest for me.<\/p>\r\n

I’ve got an operation coming up to have my appendix removed – and I’ve got three university exams.<\/p>\r\n

I had appendicitis in January, but there were complications that meant it could not be removed then.<\/p>\r\n","thumbnailSrc":"\/library\/images\/CharlieAmesburyCrop.jpg","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 07:10:06"}},"url":{"id":"670","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"340","segment":"off-season-operation","fullURL":"blogs\/charlie-amesbury\/2012\/05\/off-season-operation","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-05-15 06:52:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-05-15 06:52:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 43,[liveURL] => blogs/charlie-amesbury/2012/05/off-season-operation,[shortURL] => http://goo.gl/EgeKt,[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] => off-season-operation),[lookingForURL] => blogs/charlie-amesbury/2012/05/off-season-operation)) called at [/home/living01/public_html/index.php:379]