As it was stated we can't re-open a previous issue that appeared to be the same, I'm starting a new issue.

Steps (on a clean install):

Install Mailchimp (7.9)
Install Libraries (7.2)
Add Mailchimp library to the libraries directory
Add Mailchimp API key


Trying to add a list creates a WSOD and error log says: [Wed Jan 16 16:48:22 2013] [error] [client] PHP Fatal error: Class 'MCAPI' not found in /var/www/vhosts/XXX/httpdocs/sites/all/modules/mailchimp/includes/ on line 3, referer: XXX/admin/config/services/mailchimp/lists

/admin/reports/status page reports: The version of the MailChimp MCAPI library could not be detected.

Updated 3 sites yesterday and the same applies on update rendering the Mailchimp module completely unusable currently.


levelos’s picture

Status: Active » Closed (cannot reproduce)

Please follow the installation directions in the README. You probably did not include the required library files.

adshill’s picture

As written above, I included the library files - while on a fresh install it works, there is a problem with upgrades. I've tried now on 4 sites and same problem each time. There are many reports of similar behaviour in the issue queue - do you really think this is just people not following simple instructions?

adshill’s picture

Title: Module doesn't fine Libraries » Module doesn't fine Libraries in sites/all
Priority: Critical » Normal
Status: Closed (cannot reproduce) » Active

I've found the issue - its with Multisite.

I was installing the library in /sites/all/libraries which is the standard for a multi-site. The module only recognises the item in /sites/default/libraries

It would be great if this could be fixed to work with the libraries directory being in the standard /all directory

Updated status and lowered priority, also changed title to reflect better.

adshill’s picture

Title: Module doesn't fine Libraries in sites/all » Module doesn't find Libraries in sites/all

For more info, to get it working I had to uninstall everything and reinstall, I also had to create a new API key.

gcb’s picture

The module has no issues finding the library in sites/all/modules on my tests. Is it possible you are seeing a permissions issue as mentioned here?

levelos’s picture

Status: Active » Postponed (maintainer needs more info)
liquidcms’s picture

Version: 7.x-2.9 » 7.x-2.x-dev
Status: Postponed (maintainer needs more info) » Active

i was getting same error after upgrading. realized that i now needed the mcapi.class file. added that and then my site worked on my windows dev system; but these changes didn't help the server/linux copy of the site; but there i get this:

Fatal error: Class 'MailChimp' not found in /home/admin/public_html/stat/sites/all/modules/contrib/mailchimp/mailchimp.module on line 201

- caches have been cleared
- error occurs on all pages (that's likely a different bug isn't it? why does this lib need to be loaded on all pages)

liquidcms’s picture

i ran update.php and it seemed to fix the issue. :)

levelos’s picture

Status: Active » Closed (works as designed)
batigolix’s picture

Added a note about downloading the MCAPI lilbrary to the mailchimp documentation