When I try to "manage" a list (admin/massmailer/list/manage/2) I get

Fatal error: Call to undefined function crm_get_groups() in /foo/drupal/modules/massmailer/massmailer.module on line 583

Yes I do have the latest CiviCRM 1.1 beta installed and working as far as I can tell.

Comments

mfb’s picture

Category: support » bug

Note, I get this error under PHP5 but not under PHP4.

killes@www.drop.org’s picture

Assigned: Unassigned » killes@www.drop.org

Is it possible that you did not enable the civicrm module? Do you run the php4 or the php5 version of civicrm?

killes@www.drop.org’s picture

Oops, sorry, had not seen your notice about php5.

can you try adding civicrm_initialize(); two lines above that line after if (module_exist('civicrm')) ?

mfb’s picture

That fixes it! However I also have to add it in several other places where crm functions are called.

mfb’s picture

Also have to add this to phplist.module

killes@www.drop.org’s picture

Status: Active » Fixed

Ok, I sprikled soem invocations of civicrm_initialize over the code. no php5 setup to test it though.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)