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) »
  • Views integration Error: handler for civicrm_phone > phone doesn't exist!
Pages: [1]

Author Topic: Views integration Error: handler for civicrm_phone > phone doesn't exist!  (Read 1827 times)

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Views integration Error: handler for civicrm_phone > phone doesn't exist!
May 02, 2011, 05:46:24 pm
I dug into Views/CiviCRM integration for the first time today and it's like Soosiz - a whole new world opened up! I'm view-ing lots of CiviCRM fields: Names, Provinces, Email addresses filtered by Membership Type for role protected pages with ease. Put them in a table, sort them with one click - It's absolutely fantastic.

Only thing that I can't get to work is to add the Phone number. I - consistently - get an error message when I try to:

Fields -> + CiviCRM Phone Details: Phone Number -> Add ->

"Error handler for civicrm_phone > phone doesn't exist!"

I'm hoping someone else has seen this this and/or if anyone has any tips on how I can go about getting this bit to work.  Thanks,

-- Karin
(today:) Drupal 6.20 and CiviCRM 3.4.0 and Views 6.x-2.12

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Views integration Error: handler for civicrm_phone > phone doesn't exist!
May 02, 2011, 07:09:33 pm
Just found:
http://issues.civicrm.org/jira/browse/CRM-4305

Similar error with participant fee level field (as opposed to phone number). Prompted me to look at:
civicrm/drupal/modules/views/civicrm.views.inc

I edited line 1217:
before: civicrm_handler_field_phone
after: views_handler_field

And jippie -> I can now do view phone numbers!

-- Karin
« Last Edit: May 02, 2011, 07:34:34 pm by karin »

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: Views integration Error: handler for civicrm_phone > phone doesn't exist!
May 04, 2011, 07:17:56 am
Yea that's totally weird, it is definitely wrong and was right in 3.3 I'm not sure why that changed.
http://www.rootyhollow.com

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: Views integration Error: handler for civicrm_phone > phone doesn't exist!
May 04, 2011, 07:50:57 am
I'm not sure how this happened but the handler file simply didn't get in the 3.4 branch but it's in 4.0???

Okay so here's the issue in Jira that added the handler, http://issues.civicrm.org/jira/browse/CRM-7766.  I don't know why but for whatever reason the new handler simply didn't ship with 3.4 event though it was added in trunk in this svn revision htttps://fisheye2.atlassian.com/changelog/CiviCRM?cs=32979
http://www.rootyhollow.com

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Views integration Error: handler for civicrm_phone > phone doesn't exist!
May 04, 2011, 08:30:16 am
Thanks for checking in Jalama. Do you suppose it's possible that perhaps I'm having difficulty View-ing Custom Data from CiviCRM for similar - weird/wonky - reasons?

http://forum.civicrm.org/index.php/topic,19451.msg82482.html#msg82482


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Views integration Error: handler for civicrm_phone > phone doesn't exist!
May 05, 2011, 05:34:44 am
Yes, that's most likely the same issue.
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.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Views integration Error: handler for civicrm_phone > phone doesn't exist!
May 24, 2011, 06:43:03 am
Quote from: jalama on May 04, 2011, 07:50:57 am
I'm not sure how this happened but the handler file simply didn't get in the 3.4 branch but it's in 4.0???

In my 4.0.1 this fix is not there actually. :(

Quote from: karin on May 02, 2011, 07:09:33 pm
civicrm/drupal/modules/views/civicrm.views.inc
I edited line 1217:
before: civicrm_handler_field_phone
after: views_handler_field

This precise fix in 4.0.1 worked for me for the Phone Number field.
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.

bouton

  • Guest
Re: Views integration Error: handler for civicrm_phone > phone doesn't exist!
November 02, 2011, 08:09:05 am
This fix is also required in 4.0.7

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Views integration Error: handler for civicrm_phone > phone doesn't exist!

This forum was archived on 2017-11-26.