The Improvisation Book (Damaged Stock)

By John Abbott

The Improvisation Book (Damaged Stock)
 
Notice: Undefined variable: pub_details in /var/www/vhosts/nickhernbooks.co.uk/httpdocs/includes/detail.php on line 217 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/nickhernbooks.co.uk/httpdocs/includes/detail.php on line 217 Category: Damaged stock

Uncaught Exception, code: 0
Message: Invalid query: 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 ') AND Posts.Event = 1 AND Posts.Pu' at line 10<br />Query: SELECT Posts.PostName, Posts.Location, Posts.Link, Posts.PostText, PostDate, DATE_FORMAT(Posts.PostDate,'%a %D %b %Y') AS PostDateFormatted, DATE_FORMAT(Posts.PostDate,'%Y') AS PostYear, DATE_FORMAT(Posts.ToDate,'%a %D %b %Y') AS ToDate FROM PostBooks, Posts WHERE PostBooks.BookId IN() AND Posts.Event = 1 AND Posts.Published = 1 AND Posts.PostId = PostBooks.PostId AND Posts.OrganisationId = 177 AND ( ((YEAR(PostDate) = YEAR(CURDATE()) AND MONTH(PostDate) = MONTH(CURDATE())) OR PostDate >= CURDATE()) OR (ToDate IS NOT NULL AND ((YEAR(ToDate) = YEAR(CURDATE()) AND MONTH(ToDate) = MONTH(CURDATE())) OR ToDate >= CURDATE())) ) AND Posts.PostId IN (SELECT DISTINCT PostTags.PostId FROM PostTags, Tags WHERE Tags.TagId = PostTags.TagId AND PostTags.PostId = Posts.PostId AND Tags.Tag = 'On Stage Now') ORDER BY Posts.PostDate ASC