I have just installed CampaignMonitor and I am getting the error below when i try to get to the config screen, /admin/config/services/campaignmonitor. I haven't been able to find any info about this after searching around. I have installed the library from github as in the README, I also tried adding a require_once '/path_to_libraries/csrest_campaigns.php'; to settings.php. Have I missed a step in the config?

Fatal error: Class 'CampaignMonitor' not found in /sites/all/modules/campaignmonitor/includes/campaignmonitor.admin.inc on line 20

Comments

kurtfoster’s picture

Status: Active » Closed (cannot reproduce)

I am not sure why, i have been cruising around the site for a while configuring other things and now it works. I don't know why.

cableman0408’s picture

The module uses Drupal core's auto loader, maybe it needed a cache clear to find the file ?