Closed (fixed)
Project:
OG Contact
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Nov 2007 at 15:32 UTC
Updated:
8 Dec 2007 at 17:31 UTC
Jump to comment: Most recent file
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???
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | og_contact_patch.txt | 482 bytes | gnat |
Comments
Comment #1
gnat commentedThere 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.
Comment #2
scedwar commentedthat's fixed it! Thanks. I really need to get my head around the modules more and I can do some of my own fixes.
Comment #3
gnat commentedFixed in latest dev snapshot.
Comment #4
gnat commentedShouldn't have changed the version number last time.