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

Civicrm Referencing API 2 causing errors in drupal

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.14
    • Fix Version/s: 4.6.3
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      Was having some issues altering the role of users from drupal, the following error code from my webserver:
      Failed opening required 'api/v2/GroupContact.php'

      On further investigation it appears api 2 is no longer in use and v3 this now in favor.

      Searching the file structure for api 2 I the following file was still pointing to api 2. I have simply amended this to v3, without fully understanding the consequences D:
      file: sites/all/modules/civicrm/drupal/modules/civicrm_group_roles/civicrm_group_roles.module

      Changed line 243: require_once 'api/v3/GroupContact.php';

        Attachments

          Activity

            People

            • Assignee:
              rohan1990 Rohan Ramesh Katkar
              Reporter:
              fyberoptik James
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: