I'm not sure what I did but as I was configuring og I started to get this error message.

user warning: Table 'centroli_drup57.og_files' doesn't exist query: SELECT count(gid) FROM og_files WHERE gid = 2 in /home/centroli/public_html/includes/database.mysql.inc on line 172.

I didn't find any .sql files or anything else that looked like an sql schema(whatever that is) in any of the og folders. How do I add the missing table to the database? I am new to drupal and databases in general so I'm not sure if this is a totally boneheaded question but the fact remains that I don't know the answer. Can anyone help me out?

Comments

esplinter’s picture

similar error:

* user warning: Table 'drupal_mainweb.og_files' doesn't exist query: SELECT count(gid) FROM og_files WHERE gid = 10 in /var/www/drupal/includes/database.mysql.inc on line 172.
* user warning: Table 'drupal_mainweb.og_files' doesn't exist query: SELECT count(gid) FROM og_files WHERE gid = 12 in /var/www/drupal/includes/database.mysql.inc on line 172.

¿any clue about how to solve it??

adrianrf@gmail.com’s picture

+1...

pivica’s picture

og_files is still not ready for production sites and actually current version is not working. but there are couple of patches that are waiting to be implemented in current version - with them applied module is working fine. Take a look at http://drupal.org/node/212572#comment-730037.

wundo’s picture

Status: Active » Fixed

This issue was fixed by this commit http://drupal.org/cvs?commit=116697

Anonymous’s picture

Status: Fixed » Closed (fixed)

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