Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I got this error message when installed OG Forum D7. Please let me know if you have any ideas.
Thank you!
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'reachia_drupal_p5.field_data_group_audience' doesn't exist: SELECT DISTINCT base.tid AS tid, base.vid AS vid, base.name AS name, base.description AS description, base.format AS format, base.weight AS weight, v.machine_name AS vocabulary_machine_name FROM {taxonomy_term_data} base INNER JOIN {taxonomy_vocabulary} v ON base.vid = v.vid LEFT OUTER JOIN {field_data_group_audience} ga ON ga.entity_id = base.tid WHERE (base.tid IN (:db_condition_placeholder_0)) AND( (ga.group_audience_gid IS NULL ) OR (ga.group_audience_gid IN (:db_condition_placeholder_1)) )AND (ga.entity_type = :db_condition_placeholder_2) AND (ga.bundle = :db_condition_placeholder_3) ; Array ( [:db_condition_placeholder_0] => 6 [:db_condition_placeholder_1] => node [:db_condition_placeholder_2] => taxonomy_term [:db_condition_placeholder_3] => forums ) in DrupalDefaultEntityController->load() (line 196 of /home/reachia/public_html/p5/includes/entity.inc).
Running OG 7.x-2.0-alpha2
Comment | File | Size | Author |
---|---|---|---|
#11 | og_forum_D7-og_7.x-2.x-compatibility-1599372-11.patch | 7.57 KB | Feuerwagen |
#9 | og_forum_D7-og_7.x-2.x-compatibility-1599372-9.patch | 4.9 KB | Feuerwagen |
Comments
Comment #1
epieddy CreditAttribution: epieddy commentedHi,
I have checked and OG 7.x-2.x change completely the way of managing membership with groups. (No more OG Audience field, which is the main field used in OG 7.x-1.x and OG Forum D7 7.x-1.x).
I need to make a new branch 2.x for OG Forum D7 to be compatible with OG 2.x.
It may take some times. I will post information in this issue about the new branch.
(Changing the issue title to : Incompatibility with OG 7.x-2.x)
Thanks for the info.
Comment #2
klucid CreditAttribution: klucid commentedThanks for your reply. I appreciate your work on this module!
Comment #3
kaizerking CreditAttribution: kaizerking commentedOk this is the reason i could not make it work,
Waiting for the 2.x please
Comment #4
JohnnyX CreditAttribution: JohnnyX commentedAlso waiting for 2.x ...
Following
I found some similar modules...
http://drupal.org/project/spaces_og_forum (???)
http://drupal.org/project/og_forum_D7 (OG 7.1)
http://drupal.org/sandbox/markwk/1572364 (OG 7.1)
http://drupal.org/sandbox/thepanz/1110446 (dead?)
Comment #5
Yuri CreditAttribution: Yuri commentedI am very much in need for this 2.x version and would be happy to test any patch out
Comment #6
PlayfulWolf CreditAttribution: PlayfulWolf commenteddefinitely I am also the beta tester
Comment #7
kaizerking CreditAttribution: kaizerking commentedany up date on expected date 2.x release?
Comment #8
epieddy CreditAttribution: epieddy commentedNo, i'm really sorry, right now i don't have time to work on the 2.x version.
I will work on it as soon as i can and post informations here.
Comment #9
FeuerwagenWell I made an attempt on implementing the necessary changes to get it work with og 2.x. In fact the new style of og to store its membership entries in the database is the only remarkable difference as far as I can see.
Comment #10
FeuerwagenPoor work by me: The patch in #9 only works without forum_access enabled. Otherwise, more stuff needs to be changed, as both functions og_roles and og_get_users_by_roles were removed from og 2.x. In fact og_rules still exists but seems to behave differently.
Comment #11
FeuerwagenAfter some more work, I got this module running without errors (even with forum_access activated). Needed to implement two new functions to replace former functions of og 1.x which are now removed in og 2.x.
I don't think that I chose the most elegant solution but I needed to get it done as soon as possible.
Comment #12
Media Crumb CreditAttribution: Media Crumb commentedMaybe epieddy can take a look and roll this into a new release. Thanks for the hard work.
Comment #13
epieddy CreditAttribution: epieddy commentedHi,
I took a look at the patch which is really clean and seems to work.
I've created a new release 7.x-2.0-alpha1 with Feuerwagen patch.
Thank you very much for the help and once again sorry for being late.
Comment #15
tchilly CreditAttribution: tchilly commentedForum (forum) 7.26
OG Forum (og_forum) 7.x-2.0-alpha1+1-dev
Forum Access (forum_access) 7.x-1.2
ACL (acl) 7.x-1.0
Gets phat error when creating a new container/forum and assigning it to a group;