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] => 313,[name] => Defence Leaking Too Many Tries,[template_id] => 7,[page_id] => 279,[dataCache] => {"pagedata":{"title_1":{"id":"675","tableName":"page_titles","idColumnName":"id","columns":{"page_id":"313","content":"Defence Leaking Too Many Tries Cost Coach","ref":"1","isApproved":"1","isLive":"1","createdDateTime":"2012-04-03 08:25:37"}},"textarea_1":{"id":"813","tableName":"page_textareas","idColumnName":"id","columns":{"page_id":"313","contentHtml":"

The big news at Sale has been the departure of Tony Hanks, and I have to say all the players were quite surprised about that.<\/p>\r\n

It came out of the blue, we had not expected it.<\/p>\r\n

We know what Tony is like and we were playing his game plan under his tutelage, but the defence was leaking too many tries, and that’s eventually what I think led to him leaving the club.<\/p>\r\n

So last week we stripped our game right back to the basics in terms of defence, we’ve gone back to a very simple system.<\/p>\r\n

It’s still the same basis of what we were doing before, but I think the idea has been to make it very straightforward, given the timing of the change at this stage of the season.<\/p>\r\n

Losing at Newcastle on Friday night was a clear frustration, but we only conceded one try and that was from a drive.<\/p>\r\n

So in terms of defence we were fairly solid, although we conceded too many penalties and that cost us the game.<\/p>\r\n

When there is a change of coach or approach at a club it can be seen as an opportunity for players on the fringes to prove their selection point afresh.<\/p>\r\n

But there are opportunities to do that every day and every week, and at this stage of the season it is not for anyone to be thinking solely about their own situation.<\/p>\r\n

We’re intent on qualifying for the Heineken Cup and we probably need to finish sixth to manage that.<\/p>\r\n

So that’s the main focus now, whoever wins selection for the matches between now and the end of the season.<\/p>\r\n

The majesty of the Heineken Cup makes it the greatest club competition in the world.<\/p>\r\n

I have had a taste of playing in it in the past with Harlequins, and it is the competition that everyone wants to play in.<\/p>\r\n

It brings an extra buzz, more sponsorship potential and certainly more interest to any club that qualifies.<\/p>\r\n

Hopefully next season that will be us.<\/p>\r\n


\r\n

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

Follow Charlie Amesbury on Twitter.<\/a><\/em><\/p>\r\n


\r\n