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) »
  • Drupal views of contacts - wrong db table
Pages: [1]

Author Topic: Drupal views of contacts - wrong db table  (Read 437 times)

kenahoo

  • I post occasionally
  • **
  • Posts: 83
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.15
  • MySQL version: 5.1.63
  • PHP version: 5.3.16
Drupal views of contacts - wrong db table
September 02, 2012, 08:30:38 pm
I'm trying to create a Drupal table View of contacts in a CiviCRM group, but when I do, I get this error:

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'singersi_dru6.civicrm_contact' doesn't exist

I can't figure out why it's looking in that db, though - 'singersi_dru6' is my Drupal database, and 'singersi_crm6' is my CiviCRM database.  They're configured as such in the settings.php and civicrm.settings.php files.  Is there a separate db configuration field somewhere just for Views?

kenahoo

  • I post occasionally
  • **
  • Posts: 83
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.15
  • MySQL version: 5.1.63
  • PHP version: 5.3.16
Re: Drupal views of contacts - wrong db table
September 02, 2012, 08:38:09 pm
Never mind - I found the "Settings - Drupal Integration" page in the CiviCRM administration stuff, pasted it in to settings.php, and that error's gone.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Drupal views of contacts - wrong db table

This forum was archived on 2017-11-26.