Hello,
I hope this project isnt dead because I love the idea.
I am at http://www.teamue.com/drupal/og/users/20/titles
I insert titles for 2 users and click SAVE
It fails and I get this error:
user warning: Table 'teamueco_drupal.og_uid' doesn't exist query: SELECT ogu.uid, ogt.title FROM og_uid ogu LEFT OUTER JOIN og_uid_titles ogt ON (ogu.uid = ogt.uid AND ogu.nid = ogt.nid) INNER JOIN users u WHERE ogu.uid = u.uid AND ogu.nid = 20 in /home5/teamueco/public_html/drupal/modules/og_titles/og_titles.module on line 135.

Thanks

Comments

mradcliffe’s picture

Assigned: Unassigned » mradcliffe
Status: Active » Fixed

Whoops, I found it. Thank you for reporting this.

I just committed. The 6.x dev version should be updated within the next 12 hours.

diff -r1.1 og_titles.module
135c135
< 	 $res = db_query("SELECT ogu.uid, ogt.title FROM og_uid ogu LEFT OUTER JOIN og_uid_titles ogt ON (ogu.uid = ogt.uid AND ogu.nid = ogt.nid) INNER JOIN users u WHERE ogu.uid = u.uid AND ogu.nid = %d",$nid);
---
> 	 $res = db_query("SELECT ogu.uid, ogt.title FROM {og_uid} ogu LEFT OUTER JOIN {og_uid_titles} ogt ON (ogu.uid = ogt.uid AND ogu.nid = ogt.nid) INNER JOIN users u WHERE ogu.uid = u.uid AND ogu.nid = %d",$nid);
Tekniqal’s picture

No problem. imma report a new bug in a sec here

Tekniqal’s picture

Status: Fixed » Active

Sorry mradcliffe but I have updated to newest version with same error. I checked my code to make sure and it is the new code.

user warning: Table 'teamueco_drupal.users' doesn't exist query: SELECT ogu.uid, ogt.title FROM drupal_og_uid ogu LEFT OUTER JOIN drupal_og_uid_titles ogt ON (ogu.uid = ogt.uid AND ogu.nid = ogt.nid) INNER JOIN users u WHERE ogu.uid = u.uid AND ogu.nid = 20 in /home5/teamueco/public_html/drupal/modules/og_titles/og_titles.module on line 144.

The other problem with the views is gone however.

Edit: error isnt exactly same.

mradcliffe’s picture

add '{ }' around users at line 423 for now. Sorry about that.

Tekniqal’s picture

Thank you, I think we are all fixed up.

BTW that was line 144 in my file.

mradcliffe’s picture

Status: Active » Fixed

should have been marked fixed awhile ago.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.