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] => 290,[name] => Staying At Gloucester Superb,[template_id] => 7,[page_id] => 180,[dataCache] => {"pagedata":{"title_1":{"id":"650","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"290","content":"Staying At Gloucester Superb","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 08:04:00"}},"textarea_1":{"id":"748","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"290","contentHtml":"

It felt superb to sign a new contract extension with Gloucester<\/a>.<\/p>\r\n

As someone that has come into the game relatively late, this has been a big year for me at Kingsholm.<\/p>\r\n

The new deal provides a little bit of financial security and, I would like to think, is a reflection of how I have done this season.<\/p>\r\n

I’m grateful to the club for keeping me on and head coach Bryan Redpath for giving me the opportunity to play for this team for a few more years at least.<\/p>\r\n

There’s a really good feel about Gloucester this year and it’s a cracking set of lads who I enjoy spending time with on and off the pitch.<\/p>\r\n

Hopefully, I will be in contention for a place here for a long time to come.<\/p>\r\n

I know it’s a job and everyone needs to bring in a wage but I feel lucky that we also play a really good brand of rugby here.<\/p>\r\n

To have come this far at a club like this is a good feeling. We have done well in the last 12 months but we know, to really challenge the sides at the top of the Aviva Premiership and in Europe, we need to push on, find another gear and get more strength in depth.<\/p>\r\n

When you play the big teams, you don’t just need a good starting XV, you have to have a strong bench because that is such an important part of the game these days. Lots of matches are decided in the final 20 minutes and our squad is getting better equipped to tackle that challenge.<\/p>\r\n

It’s been a really good couple of week for us in the Premiership with wins over Northampton<\/a>, Bath<\/a> and Harlequins<\/a>.<\/p>\r\n

If we keep getting the results we have been, that test of our squad could become very real when they play-offs come around.<\/p>\r\n


\r\n

You can follow Gloucester Rugby club on twitter<\/span><\/a>.<\/p>\r\n

Check out the Living Rugby club page for Gloucester<\/a> for latest news and links to buy match tickets.<\/p>\r\n


\r\n

Buy your rugby clothing and equipment, including shoulder pads and scrum caps.<\/em><\/p>\r\n

Lovell Rugby Limited<\/a><\/p>\r\n

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

Canterbury.com<\/a><\/p>\r\n


\r\n

Photos courtesy and copyright of Martin Bennett<\/a>,<\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 12:32:57"}},"textarea_rss":{"id":"747","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"290","contentHtml":"It felt superb to sign a new contract extension with Gloucester.\r\n\r\nAs someone that has come into the game relatively late, this has been a big year for me at Kingsholm.","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 08:27:47"}},"image_1":{"id":"478","tableName":"page_images","idColumnName":"id","columns":{"page_id":"290","src":"\/library\/images\/MB_GR_R_Harden_4.jpeg","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 08:21:46"}},"meta_description":{"id":"1767","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"290","content":"Gloucester Rugby player, prop Rupert Harden, says it is superb to sign a new contract extension with Gloucester with the rugby club.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 08:26:13"}},"meta_keywords":{"id":"1768","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"290","content":"Rupert Harden | Bryan Redpath | Gloucester Rugby | Bath Rugby | Harlequins | Northampton Saints | Aviva Premiership | contract extension | rugby news | rugby blog","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 08:26:13"}},"meta_title":{"id":"1765","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"290","content":"Staying At Gloucester Superb","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 08:04:00"}},"summary":{"id":"980","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"290","linkText":"Staying At Gloucester Superb","content":"

It felt superb to sign a new contract extension with Gloucester.<\/p>\r\n

As someone that has come into the game relatively late, this has been a big year for me at Kingsholm.<\/p>\r\n

The new deal provides a little bit of financial security and, I would like to think, is a reflection of how I have done this season.<\/p>\r\n","thumbnailSrc":"\/library\/images\/MB_GR_R_Harden_4.jpeg","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 12:32:56"}},"url":{"id":"621","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"290","segment":"staying-at-gloucester-superb","fullURL":"blogs\/rupert-harden\/2012\/03\/staying-at-gloucester-superb","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-03-03 08:04:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-03-03 12:00:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 135,[liveURL] => blogs/rupert-harden/2012/03/staying-at-gloucester-superb,[shortURL] => http://goo.gl/96WWV,[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] => 03,[4] => staying-at-gloucester-superb),[lookingForURL] => blogs/rupert-harden/2012/03/staying-at-gloucester-superb)) called at [/home/living01/public_html/index.php:379]