This could be a problem at my end with CiviCRM configuration although CiviCRM seems to be working otherwise. This is using:
drupal 4.6.3
current cvs (1.3) of volunteer.module
CivicCRM 1.2 beta (from 31 october)
When I select the admin >> settings >> volunteer link, I get:
Fatal error: Call to undefined function: crm_get_groups() in /home/.deejay/ac4lt/ef.ac4lt.org/modules/volunteer/volunteer.module on line 69
Similarly, selecting 'volunteer overview' from the menu:
Fatal error: Call to undefined function: crm_get_contact() in /home/.deejay/ac4lt/ef.ac4lt.org/modules/volunteer/volunteer.module on line 223
I haven't yet been able to figure out the cause. In the first case, the call to civicrm_initialize() is just a few lines above the crm_get_groups() call. This makes me suspect my CivicRM config.inc.php file, but running CiviCRM itself seems to be working just fine leaving me baffled.
Does the volunteer module need updating form CiviCRM 1.2? Or have I made a configuration mistake somewhere along the line?
Comments
Comment #1
killes@www.drop.org commentedfixed, please get a fresh copy of both volunteer and civicrm.
Comment #2
ac4lt commentedI grabbed 1.31 and the 1-Nov CiviCRM and the admin settings is fixed, however, the volunteer overview link is still broken. I added a call to civicrm_initialize(TRUE) to the start of that method and that seems to clear up that problem, but it looks like at least one minor revision is still needed.
Comment #3
killes@www.drop.org commentedthanks, fixed.