When clicking on the Specific Group and then clicking on the forum tab for that group,
at the top of the field it shows a warning message:

user warning: Table 'account_database.drupal_og_access_post' doesn't exist query: SELECT oap.nid, COALESCE(oap.og_public, 1) AS is_public FROM drupal_og_access_post oap WHERE oap.nid = 3 in /home/account/public_html/modules/og_forum/og_forum.module on line 520.

When I edit the og_forum.module file, I go to line 520, and then I just slash out that line:

   / $public_post = db_fetch_object(db_query($sql, $topic->nid));

That seems to make the error disappear. But, I am wondering if I should even do that, and why that error occurs in the first place? What was that line specifically for?

Was this because of the type of theme that I was using?

So, far I haven't noticed any major issues from slashing out that line. But, I am curious about this.

Comments

gensuperman’s picture

Sorry I meant:

// $public_post = db_fetch_object(db_query($sql, $topic->nid));
gensuperman’s picture

nevermind...

I had updated the OG to latest version and it ofcourse updated the og access module.

So, I forgot to click on the update link to update the version to the latest version for the module.

After, I clicked on the update link in the Administration Module Panel> it corrected the SQL Database with the latest information.

Everything is working good now.

Sorry for the bother.

Anonymous’s picture

Status: Active » Closed (fixed)
JackJJW’s picture

Status: Closed (fixed) » Active

Hi there,

I am getting this same error, but there's nothing to update. I ran update anyway, but it has made no difference, the error is still there.

Is there anything else I need to do, or should I simply slash out the line as above?

Thanks

Jack

Anonymous’s picture

Do you still need assistance ?

Best, Paul

Anonymous’s picture

Status: Active » Closed (fixed)

Please reopen if you need assistance.