The shazamgallery.install file does not use curly braces when creating the database tables, which means that db_query does not prefix the table names with the prefix even if it should. The module itself uses the prefixes correctly, so you only need to change two lines in shazamgallery.install:

db_query("CREATE TABLE IF NOT EXISTS `{shazamgallery}` (

and

db_query("CREATE TABLE IF NOT EXISTS `{relations}` (

Sorry for not appending a real patch file, but I hope this is good enough.

Comments

Bèr Kessels’s picture

Fixed in HEAD and 4.7

Bèr Kessels’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)