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] => 277,[name] => Brutal West Country Derby,[template_id] => 7,[page_id] => 180,[dataCache] => {"pagedata":{"title_1":{"id":"635","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"277","content":"Brutal West Country Derby","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 06:51:00"}},"textarea_1":{"id":"702","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"277","contentHtml":"

Our win over Bath in the West Country derby was brutal.<\/p>\r\n

It was intense, attritional and even had a proper old school fight* to start things off.<\/p>\r\n

I guess that showed how much it meant, not only to the 30 of us lucky enough to be representing our clubs, but to the people in the stands.<\/p>\r\n

Nobody took a step back and I thought the referee handled the situation really well. Sending someone off could have ruined the game.<\/p>\r\n

After that, it was a tough contest. Really tough. Not only because Bath are such a good side but because running around on what descended into a bog was very hard work. It was the first game this season that I have cramped up and some of the other boys were the same.<\/p>\r\n

The four points were massive to our season. Head coach Bryan Redpath had spoken before the game that if we wanted to make a push for the play-offs, now was the time to do it.<\/p>\r\n

We have Harlequins and Leicester in the next few weeks but, after that, our run-in<\/a> is far from daunting and there are some games that we would expect to win if we want to be a side pushing for silverware this season.<\/p>\r\n

Of course the win also meant a lot in the short term too – getting one over on another West Country club. Several of my team mates are Gloucester through and through and there is a big rivalry with Bath. The win meant a massive amount to them.<\/p>\r\n

When I first came down here from the north east, I didn’t quite realise how big that rivalry was.<\/p>\r\n

Hearing some of the Gloucester boys speak and then running out at a hostile Rec, I was left in no doubt just how much it means to the people down here and that rubs off on you as a player, even if you are not from the area.<\/p>\r\n

If the rivalry produces games as intense and exciting as that, long may it continue.<\/p>\r\n


\r\n

*As predicted by The Rugby Blog<\/a><\/p>\r\n


\r\n

You can read more about Rupert at his Gloucester Rugby first team squad page<\/a>.<\/em><\/p>\r\n

Read our Gloucester club page<\/a>, including a link to buy your match tickets.<\/em><\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 07:01:35"}},"textarea_rss":{"id":"703","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"277","contentHtml":"Our win over Bath in the West Country derby was brutal.\r\n\r\nIt was intense, attritional and even had a proper old school fight* to start things off.","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 07:04:06"}},"image_1":{"id":"453","tableName":"page_images","idColumnName":"id","columns":{"page_id":"277","src":"","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 07:04:06"}},"meta_description":{"id":"1701","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"277","content":"Gloucester Prop Rupert Harden says the game against Bath was a brutal West Country derby and the win was important to their season.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 07:04:05"}},"meta_keywords":{"id":"1702","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"277","content":"Rupert Harden | Rugby Player | Rugby BLog | Rugby news | Bath Rugby | Aviva Premiership | West Country derby","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 07:04:06"}},"meta_title":{"id":"1699","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"277","content":"Brutal West Country Derby","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 06:51:00"}},"summary":{"id":"926","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"277","linkText":"Brutal West Country Derby","content":"

Our win over Bath in the West Country derby was brutal.<\/p>\r\n

It was intense, attritional and even had a proper old school fight to start things off.<\/p>\r\n","thumbnailSrc":"","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 07:04:06"}},"url":{"id":"608","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"277","segment":"brutal-west-country-derby","fullURL":"blogs\/rupert-harden\/2012\/02\/brutal-west-country-derby","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-02-22 06:51:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-02-22 06:51:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 137,[liveURL] => blogs/rupert-harden/2012/02/brutal-west-country-derby,[shortURL] => http://goo.gl/HmE6R,[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] => 02,[4] => brutal-west-country-derby),[lookingForURL] => blogs/rupert-harden/2012/02/brutal-west-country-derby)) called at [/home/living01/public_html/index.php:379]