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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Drupal View using CiviCRM Contacts not returning any records
Pages: [1]

Author Topic: Drupal View using CiviCRM Contacts not returning any records  (Read 476 times)

karhide

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Drupal
  • MySQL version: 5.5.24
  • PHP version: 5.3.13
Drupal View using CiviCRM Contacts not returning any records
January 10, 2013, 07:48:12 am
I have a test environment set up to carry out some testing and when I create a view a new view to access the contacts in the CiviCRM database no data is returned.  If I run the query in phpMyAdmin it returns the records I would expect to be returned. 

This was a copy taken from the live site so I assume this is a config problem but I'm not sure where to look. 

Any ideas?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal View using CiviCRM Contacts not returning any records
January 10, 2013, 08:00:27 am
Check that the CiviCRM database settings are correct in sites/default/settings.php
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.

karhide

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Drupal
  • MySQL version: 5.5.24
  • PHP version: 5.3.13
Re: Drupal View using CiviCRM Contacts not returning any records
January 10, 2013, 08:29:46 am
Thanks for the quick reply I'll double check all the settings and let you know if that fixes it  :)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Drupal View using CiviCRM Contacts not returning any records
January 12, 2013, 10:27:54 am
Are the CiviCRM tables in a different database than the Drupal tables?   If so, you will need to make sure your Drupal settings.php file includes the setting for
$db_prefix = 
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Drupal View using CiviCRM Contacts not returning any records

This forum was archived on 2017-11-26.