The following error was encountered:

SELECT BilateralIssues.ID AS IssueID, BilateralSeries.Name AS SeriesName, BilateralIssues.Issue AS Issue, BilateralIssues.Name AS Title, BilateralIssues.Thumbnails AS Thumbnails, BilateralIssues.Pages AS Pages FROM BilateralIssues, BilateralSeries WHERE BilateralIssues.SeriesID=BilateralSeries.ID AND BilateralSeries.ID=7 AND (BilateralIssues.ReleaseDate IS NULL OR BilateralIssues.ReleaseDate <= NOW()) AND BilateralIssues.Issue=22 AND BilateralSeries.RecordState='ACTIVE' AND BilateralIssues.RecordState='ACTIVE'

1046: No database selected