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] => 297,[name] => Analysis, Information, Frank Criticism,[template_id] => 7,[page_id] => 279,[dataCache] => {"pagedata":{"title_1":{"id":"656","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"297","content":"Analysis, Information, Frank Criticism","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 07:32:00"}},"textarea_1":{"id":"775","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"297","contentHtml":"

Attention to detail is what you get from our head coach Tony Hanks.<\/p>\r\n

Steve Diamond is brilliant on the mental and motivational side of things, and that ties in very well, because Tony is great with analysis.<\/p>\r\n

He will leave no stone unturned to ensure he’s ready to present our review of one weekend’s game and the preview of the next week’s game on a Monday.<\/p>\r\n

And he is great at giving out information to the players.<\/p>\r\n

The more information we have the better in terms of improving or changing what we do to fit the systems better.<\/p>\r\n

It’s one thing to have a reasonable opinion of where you think you are headed as a player, but you just cannot get that objective criticism, so you always need the coaches to be frank and up front with you about what you can improve.<\/p>\r\n

And Tony is great at doing that.<\/p>\r\n

So there’s a pretty good balance there, and – Exeter aside – results and performances have been reasonable lately, so there hasn’t been too much need to change a great deal.<\/p>\r\n

Things have been on a fairly even keel but after that defeat at Sandy Park everyone will be desperate to hit back to winning ways as quickly as possible.<\/p>\r\n

What you can’t do at this stage of the season is start ripping up the play books though, and Tony understands that.<\/p>\r\n

So after a week off everyone will be flying back into training now – but there won’t be any overreaction from the coaches.<\/p>\r\n

Quite a few players headed away for some sun last week, and it was probably our last chance for a break before the run to the end of the season.<\/p>\r\n

As much mentally as physically you need that break, and now we start the build-up towards taking on Saracens at Edgeley Park.<\/p>\r\n

Tony will make sure we're totally prepared for whatever will be thrown at us - and then it's up to us respond.<\/p>\r\n

\"\"<\/p>\r\n


\r\n

Read about Edgeley Park on our Sale Sharks club page<\/a><\/p>\r\n


\r\n

Buy rugby shirts, boots and equipments at <\/em>Lovell Rugby<\/a><\/p>\r\n

Special Deal<\/u><\/strong><\/em><\/span><\/p>\r\n

Get you Mothers Day gift using our special discount code GMUM10<\/strong> at Gadgets.co.uk<\/a>.<\/p>\r\n

 <\/p>\r\n","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 07:50:47"}},"textarea_rss":{"id":"776","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"297","contentHtml":"Attention to detail is what you get from our head coach Tony Hanks.\r\n\r\nSteve Diamond is brilliant on the mental and motivational side of things, and that ties in very well, because Tony is great with analysis.","ref":"rss","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 08:15:17"}},"image_1":{"id":"484","tableName":"page_images","idColumnName":"id","columns":{"page_id":"297","src":"","height":"","width":"","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 08:15:17"}},"meta_description":{"id":"1793","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"297","content":"Sale Sharks winger Charlie Aymesbury says attention to detail is what the team get from their head coach Tony Hanks.","ref":"description","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 08:15:17"}},"meta_keywords":{"id":"1794","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"297","content":"Charlie Aymesbury | Tony Hanks | Steve Diamond | Sale Sharks | rugby news | rugby blog | rugby blogs | rugby players | head coach","ref":"keywords","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 08:15:17"}},"meta_title":{"id":"1791","tableName":"page_metas","idColumnName":"id","columns":{"page_id":"297","content":"Analysis, Information, Frank Criticism","ref":"title","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 07:32:00"}},"summary":{"id":"1001","tableName":"page_summaries","idColumnName":"id","columns":{"page_id":"297","linkText":"Analysis, Information, Frank Criticism","content":"

Attention to detail is what you get from our head coach Tony Hanks.<\/p>\r\n

Steve Diamond is brilliant on the mental and motivational side of things, and that ties in very well, because Tony is great with analysis.<\/p>\r\n

He will leave no stone unturned to ensure he’s ready to present our review of one weekend’s game and the preview of the next week’s game on a Monday.<\/p>\r\n","thumbnailSrc":"","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 08:15:17"}},"url":{"id":"627","tableName":"page_urls","idColumnName":"id","columns":{"page_id":"297","segment":"analysis-information-frank-criticism","fullURL":"blogs\/charlie-amesbury\/2012\/03\/analysis-information-frank-criticism","ref":"","isApproved":"1","isLive":"1","createdDateTime":"2012-03-14 07:32:00","isArchived":"0"}}},"templatedata":{"Main Content":{"priority":["1"],"snippet":"","className":null,"archived":[]}}},[releaseDateTime] => 2012-03-14 07:32:00,[expiryDateTime] => 0000-00-00 00:00:00,[priority] => 47,[liveURL] => blogs/charlie-amesbury/2012/03/analysis-information-frank-criticism,[shortURL] => http://goo.gl/pLtf2,[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] => 03,[4] => analysis-information-frank-criticism),[lookingForURL] => blogs/charlie-amesbury/2012/03/analysis-information-frank-criticism)) called at [/home/living01/public_html/index.php:379]