Closed (fixed)
Project:
User Relationships
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2008 at 10:05 UTC
Updated:
28 Jan 2008 at 07:48 UTC
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
Comment #1
prfctns6@gmail.com commentedThe 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.
Comment #2
sprsquish commentedI 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.
Comment #3
sterwa commentedThanks for submitting the fix. No problem now.