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] => 485,[name] => Davies impact,[template_id] => 7,[page_id] => 180,[dataCache] => {"pagedata":{"title_1":{"id":"917","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"485","content":"Davies impact","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:39:00"}},"textarea_1":{"id":"1382","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"485","contentHtml":"

We go into the challenges of the Amlin Cup this week having left ourselves in a good position in the Aviva Premiership table.
\r\n
\r\nOur loss at Saracens was hard to take after running them so close, especially, with a similar story happening the other week at Harlequins too.
\r\n
\r\nAfter 10 rounds, we are in fifth place, one point behind the play-offs and just four points off the top.
\r\n
\r\nThere is a really good feeling in the camp too.
\r\n
\r\nAll over the park, we are a lot more competitive and we have a lot more strength in depth than last season.
\r\n
\r\nNew director of rugby Nigel Davies has a lot of faith in that depth and that has gone down well.
\r\n
\r\nGuys are being trusted to do a job. If you are in the squad, you will get game time and that has long-term benefits for the squad as a whole. When the same guys are being picked all of the time, they get tired and jaded.
\r\n
\r\nWe tried to win everything last season and won nothing. At the end of a long campaign, some of the guys were spent.
\r\n
\r\nNigel has come in with a free license to manage how he sees fit and he makes it his job to talk to everyone.
\r\n
\r\nHe is honest and very blunt and the squad has reacted well to that. Crucially, he lets everyone get on with their job, while he stands back and looks at the bigger picture.
\r\n
\r\nRugby is a pretty simple game and having the right people in place certainly helps. We have made some good signings on the pitch too. Sione Kalamafoni, Ben Morgan and Jimmy Cowan have all made big impacts since their arrival.
\r\n
\r\nWe may have had some finesse in the back row last year but Saone and Ben are the sort of big and nasty ball carriers that oppositions hate to have to bring down.
\r\n
\r\nWe go back into Europe this weekend where we are playing a double header against….London Irish!<\/p>\r\n


\r\n

Check the updated Gloucester Rugby club page<\/a>.<\/p>\r\n

Read more Living Rugby blogs.<\/a><\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:52:26"}},"textarea_rss":{"id":"1383","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"485","contentHtml":"Rupert Harden says there is a really good feeling in the Gloucester camp as the new coach Nigel Davies shows his faith in the squad to do the job asked of them.","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:58:50"}},"image_1":{"id":"711","tableName":"page_images","idColumnName":"id","columns":{"page_id":"485","src":"","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:58:50"}},"meta_description":{"id":"2636","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"485","content":"Rupert Harden says there is a really good feeling in the Gloucester camp as the new coach Nigel Davies shows faith in his squad.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:58:50"}},"meta_keywords":{"id":"2637","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"485","content":"Rupert Harden | Gloucester | Nigel Davies | squad | league | rugby | blog","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:58:50"}},"meta_title":{"id":"2634","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"485","content":"Davies impact","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:39:00"}},"summary":{"id":"1718","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"485","linkText":"Davies impact","content":"

\r\n\t"After 10 rounds, we are in fifth place, one point behind the play-offs and just four points off the top."<\/h2>\r\n

Rupert Harden says there is a really good feeling in the Gloucester camp as the new coach Nigel Davies shows his faith in the squad to do the job asked of them.<\/p>\r\n","thumbnailSrc":"","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:58:50"}},"url":{"id":"852","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"485","segment":"davies-impact","fullURL":"blogs\/rupert-harden\/2012\/12\/davies-impact","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-12-08 10:39:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-12-08 10:39:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 133,[liveURL] => blogs/rupert-harden/2012/12/davies-impact,[shortURL] => http://goo.gl/gaoYT,[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] => rupert-harden,[2] => 2012,[3] => 12,[4] => davies-impact),[lookingForURL] => blogs/rupert-harden/2012/12/davies-impact)) called at [/home/living01/public_html/index.php:379]