Closed (fixed)
Project:
Mass Mailer
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Aug 2005 at 07:45 UTC
Updated:
13 Oct 2005 at 02:40 UTC
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
Comment #1
mfbNote, I get this error under PHP5 but not under PHP4.
Comment #2
killes@www.drop.org commentedIs it possible that you did not enable the civicrm module? Do you run the php4 or the php5 version of civicrm?
Comment #3
killes@www.drop.org commentedOops, sorry, had not seen your notice about php5.
can you try adding civicrm_initialize(); two lines above that line after if (module_exist('civicrm')) ?
Comment #4
mfbThat fixes it! However I also have to add it in several other places where crm functions are called.
Comment #5
mfbAlso have to add this to phplist.module
Comment #6
killes@www.drop.org commentedOk, I sprikled soem invocations of civicrm_initialize over the code. no php5 setup to test it though.
Comment #7
(not verified) commentedComment #8
(not verified) commentedComment #9
(not verified) commented