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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Login Error on Drupal
Pages: [1]

Author Topic: Login Error on Drupal  (Read 1411 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Login Error on Drupal
July 31, 2013, 05:39:07 am
I have a site with Drupal 6 and CiviCRM 4.1.5. When someone logs in they see:

Code: [Select]
Sorry. A non-recoverable error has occurred.
DB Error: no such field
Error Details
Additional Details:
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] =>
SELECT GROUP_CONCAT(contact_id) as contactStr
FROM   civicrm_group_contact
WHERE  group_id = 297
AND    status = 'Added'
AND    contact_id IN ( c )
 [nativecode=1054 ** Unknown column 'c' in 'where clause']
    [type] => DB_Error
    [user_info] =>
SELECT GROUP_CONCAT(contact_id) as contactStr
FROM   civicrm_group_contact
WHERE  group_id = 297
AND    status = 'Added'
AND    contact_id IN ( c )
 [nativecode=1054 ** Unknown column 'c' 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 GROUP_CONCAT(contact_id) as contactStr
FROM   civicrm_group_contact
WHERE  group_id = 297
AND    status = 'Added'
AND    contact_id IN ( c )
 [nativecode=1054 ** Unknown column 'c' in 'where clause']"]
)

I am uncertain as to why. I thought perhaps we could empty the User-Contact table (uf_match) and then run the Synch tool and see if that helps, but the uf_join also has a lot of data and I'm not sure if that would be rebuilt. I would of course like to upgrade this site, but I think we should fix this issue first.

Anyhow, any ideas about the error above?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Login Error on Drupal

This forum was archived on 2017-11-26.