CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviCRM error when creating Organic Group
Pages: [1]

Author Topic: CiviCRM error when creating Organic Group  (Read 896 times)

jday

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 6
  • CiviCRM version: 4.2
  • CMS version: 7.15
CiviCRM error when creating Organic Group
November 03, 2011, 12:26:41 pm
Drupal 6.22
Organic groups 6.x-2.x-dev (2011-Oct-16)
CiviCRM 3.4.5

When I go to Content > Create new Group and save, it creates the group but I get this error:
Sorry. A non-recoverable error has occurred.
DB Error: no such field

and the group does not display on the domain.com/og page

any ideas what's going on here?
Code: [Select]
Array ( [callback] => Array ( [0] => CRM_Core_Error [1] => handle ) [code] => -19 [message] => DB Error: no such field [mode] => 16 [debug_info] => SELECT contact_a.id as id FROM civicrm_contact contact_a LEFT JOIN civicrm_address ON ( contact_a.id = civicrm_address.contact_id AND civicrm_address.is_primary = 1 ) LEFT JOIN civicrm_state_province ON civicrm_address.state_province_id = civicrm_state_province.id WHERE ( ( ROUND(civicrm_address.postal_code) >= '97201' AND ROUND(civicrm_address.postal_code) <= '97299' AND contact_a.contact_type IN ('Individual') ) OR ( LOWER(civicrm_address.city) = 'vancouver' AND civicrm_state_province.id IN (Washington) AND contact_a.contact_type IN ('Individual') ) ) AND (contact_a.is_deleted = 0) AND contact_a.id NOT IN ( SELECT contact_id FROM civicrm_group_contact WHERE civicrm_group_contact.status = 'Removed' AND civicrm_group_contact.group_id = 38 ) UNION SELECT contact_id as id FROM civicrm_group_contact WHERE civicrm_group_contact.status = 'Added' AND civicrm_group_contact.group_id = 38 [nativecode=1054 ** Unknown column 'Washington' in 'where clause'] [type] => DB_Error [user_info] => SELECT contact_a.id as id FROM civicrm_contact contact_a LEFT JOIN civicrm_address ON ( contact_a.id = civicrm_address.contact_id AND civicrm_address.is_primary = 1 ) LEFT JOIN civicrm_state_province ON civicrm_address.state_province_id = civicrm_state_province.id WHERE ( ( ROUND(civicrm_address.postal_code) >= '97201' AND ROUND(civicrm_address.postal_code) <= '97299' AND contact_a.contact_type IN ('Individual') ) OR ( LOWER(civicrm_address.city) = 'vancouver' AND civicrm_state_province.id IN (Washington) AND contact_a.contact_type IN ('Individual') ) ) AND (contact_a.is_deleted = 0) AND contact_a.id NOT IN ( SELECT contact_id FROM civicrm_group_contact WHERE civicrm_group_contact.status = 'Removed' AND civicrm_group_contact.group_id = 38 ) UNION SELECT contact_id as id FROM civicrm_group_contact WHERE civicrm_group_contact.status = 'Added' AND civicrm_group_contact.group_id = 38 [nativecode=1054 ** Unknown column 'Washington' in 'where clause'] [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT contact_a.id as id FROM civicrm_contact contact_a LEFT JOIN civicrm_address ON ( contact_a.id = civicrm_address.contact_id AND civicrm_address.is_primary = 1 ) LEFT JOIN civicrm_state_province ON civicrm_address.state_province_id = civicrm_state_province.id WHERE ( ( ROUND(civicrm_address.postal_code) >= '97201' AND ROUND(civicrm_address.postal_code) <= '97299' AND contact_a.contact_type IN ('Individual') ) OR ( LOWER(civicrm_address.city) = 'vancouver' AND civicrm_state_province.id IN (Washington) AND contact_a.contact_type IN ('Individual') ) ) AND (contact_a.is_deleted = 0) AND contact_a.id NOT IN ( SELECT contact_id FROM civicrm_group_contact WHERE civicrm_group_contact.status = 'Removed' AND civicrm_group_contact.group_id = 38 ) UNION SELECT contact_id as id FROM civicrm_group_contact WHERE civicrm_group_contact.status = 'Added' AND civicrm_group_contact.group_id = 38 [nativecode=1054 ** Unknown column 'Washington' in 'where clause']"] )

jday

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 6
  • CiviCRM version: 4.2
  • CMS version: 7.15
Re: CiviCRM error when creating Organic Group
November 03, 2011, 03:23:57 pm
here's another error after creating an organic group node:
DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
Database Error Code: Lock wait timeout exceeded; try restarting transaction, 1205

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: CiviCRM error when creating Organic Group
November 06, 2011, 01:28:38 pm
We have OG and Civi behaving nicely on both 3.4.4 and 3.4.7 (same site but have just upgraded on dev so tested this to confirm for your benefit).
ie, creating an OG creates the two Civi Groups expected         
Using OG 6.x-2.1 
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

jday

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 6
  • CiviCRM version: 4.2
  • CMS version: 7.15
Re: CiviCRM error when creating Organic Group
November 06, 2011, 07:30:26 pm
Thanks for that info, I upgraded our civicrm to 3.4.7 and now no longer get the error when creating an organic group, and everything looks to be working as expected.

I appreciate your help, thanks again!!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: CiviCRM error when creating Organic Group
November 06, 2011, 07:35:55 pm
Cool - nice to know the old 'try upgrading' helped
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviCRM error when creating Organic Group

This forum was archived on 2017-11-26.