Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1227

malformed query for civicrm/contact/add

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5
    • Labels:
      None

      Description

      At this page, while saving change to contact (adding contact to new
      group), http://dev1.greenparty.ca/civicrm/contact/add, I encountered
      the following error:

      Sorry. A non-recoverable error has occurred.

      Database Error Code: Unknown column 'k2c1l6' in 'where clause',
      1054

      Return to CiviCRM menu.

      error

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -19
      [message] => DB Error: no such field
      [mode] => 16
      [debug_info] => SELECT latitude, longitude FROM zipcodes WHERE zip
      = k2c1l6 [nativecode=1054 ** Unknown column 'k2c1l6' in 'where clause']
      [type] => DB_Error
      [user_info] => SELECT latitude, longitude FROM zipcodes WHERE zip =
      k2c1l6 [nativecode=1054 ** Unknown column 'k2c1l6' 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 latitude, longitude FROM zipcodes WHERE zip = k2c1l6
      [nativecode=1054 ** Unknown column 'k2c1l6' in 'where clause']"]
      )

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              hesco Hugh Esco
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: