thank you for the module. I have installed and configured it (and added a couple of one-way relationship types), but when attempting to create a relationship with a user I get the following error. Thank you for any ideas/suggestions.

user warning: Unknown column 'flags' in 'field list' query: INSERT INTO user_relationships (rid, requester_id, requestee_id, rtid, approved, created_at, updated_at, flags) VALUES (1, 1, 2, 1, 1, 1201167739, 1201167739, 0) in /home/.../public_html/includes/database.mysql.inc on line 172.

Comments

prfctns6@gmail.com’s picture

The flags column was recently added in update 6 of the User Relationships core module. Go the status page of your admin console (admin/logs/status) and be sure your DB is up to date.

Please note: if you're DB isn't already at update 5, you need to apply the updates sequentially. Telling it to go directly to 6 does not automatically apply all updates between where you're at and 6 - it only applies update 6.

sprsquish’s picture

Status: Active » Fixed

I think this was my fault.

I didn't put the flags field in the initial install SQL. Drupal, you make my job harder than it should be.

sterwa’s picture

Status: Fixed » Closed (fixed)

Thanks for submitting the fix. No problem now.