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) »
  • Fatal error: Class 'CRM_Utils_Rule', when logging into drupal
Pages: [1]

Author Topic: Fatal error: Class 'CRM_Utils_Rule', when logging into drupal  (Read 878 times)

areaten

  • Guest
Fatal error: Class 'CRM_Utils_Rule', when logging into drupal
November 04, 2009, 05:50:50 am
Hi,
I'm using Civicrm just as a listings directory, plugged into Drupal.
When viewing a contact record and a user logs into Drupal through the login block they an error page stating:

Fatal error: Class 'CRM_Utils_Rule' not found in /home/freeasab/test.freeasabird.org.uk/sites/all/modules/civicrm/CRM/Contact/BAO/GroupContact.php on line 669

When viewing the profile search and contact listings and logging in, there is no problem. Only whilst viewing a contact record.

Any suggestions towards a solution would be much appreciated

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error: Class 'CRM_Utils_Rule', when logging into drupal
November 04, 2009, 06:09:35 am

can u add

        require_once 'CRM/Utils/Rule.php';

to line 669 of the GroupContact.php file

i've fixed this for 3.0.3

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Fatal error: Class 'CRM_Utils_Rule', when logging into drupal

This forum was archived on 2017-11-26.