Installing the module on a subsite of a multisite install (where the only shared tables are the user tables) fails:

Visiting a group home page exhibits this warning:

user warning: Table 'my_drupal.og_contact' doesn't exist query: SELECT gid FROM og_contact WHERE gid=38 in /home/username/public_html/includes/database.mysql.inc on line 172.

It appears as though the module is ignoring the database prefix???

CommentFileSizeAuthor
#1 og_contact_patch.txt482 bytesgnat

Comments

gnat’s picture

StatusFileSize
new482 bytes

There was a check against the og_contact tabe that didn't have { } around it, that was likely what was causing this error, as in your case, it was calling "og_contact" instead of "prefix_og_contact".

I'm traveling right now, and don't have my CVS password with me, so I can't commit this patch to a new dev version until I get home, but here's the patch, its a single line change.

scedwar’s picture

Assigned: Unassigned » gnat
Status: Active » Reviewed & tested by the community

that's fixed it! Thanks. I really need to get my head around the modules more and I can do some of my own fixes.

gnat’s picture

Version: 5.x-1.x-dev » 5.x-2.x-dev
Status: Reviewed & tested by the community » Closed (fixed)
gnat’s picture

Version: 5.x-2.x-dev » 5.x-1.x-dev

Shouldn't have changed the version number last time.