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] => 371,[name] => Gee-Geed Up For The New Season,[template_id] => 7,[page_id] => 279,[dataCache] => {"pagedata":{"title_1":{"id":"758","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"371","content":"We\u0092re Gee-Gee\u0092d Up For The New Season \u0096 But Not Quite Ready To Place Our Bets","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:58:49"}},"textarea_1":{"id":"1040","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"371","contentHtml":"

We had a great club day out at Chester Races recently, and some decent flutters came off for a few of the lads.
\r\n
\r\nKearnan Myall and Henry Thomas rate themselves as racing aficionados, so some of their tips were doing the rounds.
\r\n
\r\nConsequently we all ended up pretty much cheering the same horses at the winning post.
\r\n
\r\nClub sponsors MBNA put the day on for us, and I have to say the boys really appreciate gestures like that.
\r\n
\r\nIt might come across like a plug for them, but sponsors are the life-blood of the game – and not just that, they really do care about what we’re up to, and when they put on events like this, they show just how much it means to them too.
\r\n
\r\nIt was great to have a club outing after what’s been a pretty brutal pre-season training run so far.
\r\n
\r\nIt’s always got to be punishing, but it never gets any easier – I guess that’s the point!
\r\n
\r\nAll the guys have worked really hard though, and I think we’re in pretty good shape to attack the first few pre-season matches in the coming weeks.
\r\n
\r\nWe might have been placing bets on the horses, but it’s not quite time to put the money where our mouths are when it comes to our season’s ambitions.
\r\n
\r\nNew director of rugby Bryan Redpath has been really hands-on, and he sat us down and we had a good chat about what we expect from each other and what we’re looking to achieve through pre-season.
\r\n
\r\nBut it will probably be a couple more weeks before we go through our full ambitions for the new campaign.
\r\n
\r\nWe will sit down and set goals for where we want to finish and what we want to achieve – but you don’t want to do that too soon.
\r\n
\r\nFor now, there’s plenty on our plates getting stuck into conditioning and fitness training and making sure our gameplan is in order for the new term.<\/p>\r\n


\r\n

Read more Living Rugby blogs<\/a>.<\/em><\/p>\r\n

To place your bet on the gee gees, or rugby, go to bwin.com<\/a>.<\/em><\/p>\r\n

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

 <\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:53:16"}},"textarea_rss":{"id":"1041","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"371","contentHtml":"We had a great club day out at Chester Races recently, and some decent flutters came off for a few of the lads.\r\n\r\nKearnan Myall and Henry Thomas rate themselves as racing aficionados, so some of their tips were doing the rounds.\r\n\r\nConsequently...","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:58:49"}},"image_1":{"id":"571","tableName":"page_images","idColumnName":"id","columns":{"page_id":"371","src":"\/library\/images\/CharlieAmesburyCrop.jpg","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:53:16"}},"meta_description":{"id":"2109","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"371","content":"Rugby blog by Sale Sharks' Charlie Amesbury talks about the preperations taking place in the North for the coming Aviva Premiership season.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:58:49"}},"meta_keywords":{"id":"2110","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"371","content":"Rugby blog | Rugby blogs | Premiership Rugby | Sale Sharks | Charlie Amesbury | Bryan Redpath | Kearnan Myall | Henry Thomas | Rugby sponsor | MBNA | ","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:58:49"}},"meta_title":{"id":"2107","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"371","content":"Gee-Geed Up For The New Season","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:47:00"}},"summary":{"id":"1313","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"371","linkText":"Gee-Geed Up For The New Season","content":"

\r\n\t"New director of rugby Bryan Redpath has been really hands-on"<\/h2>\r\n

Sale Sharks' Charlie Amesbury talks about the preperations taking place in the North for the coming Aviva Premiership season.<\/p>\r\n","thumbnailSrc":"","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:58:49"}},"url":{"id":"718","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"371","segment":"gee-geed-up-for-the-new-season","fullURL":"blogs\/charlie-amesbury\/2012\/07\/gee-geed-up-for-the-new-season","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-07-21 00:47:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-07-21 07:00:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 41,[liveURL] => blogs/charlie-amesbury/2012/07/gee-geed-up-for-the-new-season,[shortURL] => http://goo.gl/bqflJ,[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] => 07,[4] => gee-geed-up-for-the-new-season),[lookingForURL] => blogs/charlie-amesbury/2012/07/gee-geed-up-for-the-new-season)) called at [/home/living01/public_html/index.php:379]