I'm running Drupal 5.7, og_forum-5.x-2.x-dev, og 5.x-7.3 with the added lines copied from the og_forum README file, ACL 5.x-1.6, Forum Access 5.x-1.10.

I have sites running under the same software installation. They do not have these problems. I have not enabled og_forum on those sites.

With og_forum enabled, I get Invalid argument supplied for foreach() og_forum on line 1141.
With og_forum disabled, I don't get a selection dropdown list for selecting a parent forum for a new forum topic. I think I messed things up by going back to an old version of og_forum and/or not installing ACL and forum_access soon enough.

I've posted details in two forum posts: "Invalid argument supplied for foreach() og_forum on line 1141" at http://drupal.org/node/279189 and "Missing selection list for Forums" at http://drupal.org/node/281851 but haven't had any responses to either post.

Today, on my test site, I tried cleaning everything out:

Disabled acl, forum_access, og_forum, og access control, og mandatory group, og
"You have disabled the ACL module—to avoid permission problems you should now go to admin/content/node-settings and click on the [Rebuild permissions] button!"
"The node access table has been rebuilt."

Uninstalled acl, forum_access, og_forum
Messages:
"There was an error removing the OG Forum database tables or variables." (In red)
"The selected modules have been uninstalled." (In green)
Uninstall og_access, og
phpmyadmin shows that all the associated tables are gone, but I had a table for og_galleries which had 0 records. I didn't see og_galleries at http://test.nccommunities.org/admin/build/modules
In phpmyadmin, dropped og_galleries.

Attempt to create a new forum topic:
As admin: No Forums selection menu
As an authenticated user: user warning: Table 'drupal2.access' doesn't exist query: SELECT CASE WHEN status=1 THEN 0 ELSE 1 END FROM access WHERE type = 'user' AND LOWER('hallman') LIKE LOWER(mask) ORDER BY status DESC LIMIT 0, 1 in /home/drupal2/public_html/includes/database.mysql.inc on line 172.

I'm stuck.

Comments

Anonymous’s picture

@Ryan

I am not going to look into solving problems that may arise with how OG Forum interacts with other contributed modules. It will just take up too much company time . Do you have any suggestions for "Hallman" ?

Anonymous’s picture

Assigned: Unassigned »
rconstantine’s picture

In the past, og_forum did not play nice with forum_access and vise versa. Forum access was changed to work with this module. I cannot say the same for ACL and would suspect that as the problem. This would require more investigation by the poster.

@Paul

Yes, leave for after D6.

Anonymous’s picture

Status: Active » Postponed
hallman’s picture

I had these problems and, in searching for a solution, mistakenly thought I needed acl and forum_access. I only installed these modules on my test site, test.nccommunities.org.

I'm still having problems on my live site nccommunities.org. I think to avoid confusion we should close this issue and I'll post a new one for nccommunities.org.

hallman’s picture

Status: Postponed » Fixed

I found the problem. On all my sites that had problems, the table vocabulary_node_types was messed up. In most cases it was empty. In one case, the image row was there but the forum row was not. I inserted values in vocabulary_node_types and my sites are working again. I'm not going to try to figure out what emptied the table.

Thank you for taking the time to try to help!

Anonymous’s picture

Status: Fixed » Closed (fixed)
Pablo Demono’s picture

I had the same problem, thank you, works great now :)