Hi there,

I've recently installed MailChimp 7.x-2.9. I already have Libraries 7.x-2.0 installed. I've added the MCAPI.class.php file and README.txt file to the sites/all/libraries/mailchimp folder. I'm getting the following error:

"The version of the MailChimp MCAPI library could not be detected."

I tried uninstalling and reinstalling, flushing cache, I'm not sure how to get it to work. Has anyone else experienced this or know how to fix it?

Many thanks,


#7 1901524-remove-readme-dependency.patch637 byteswiifm
Members fund testing for the Drupal project. Drupal Association Learn more


gcb’s picture

Status: Active » Postponed (maintainer needs more info)

Erin, have you checked the permissions on that folder? Some others have had issues because of permissions:


Also, we just rolled out 7.x-2.10 which fixes some other issues: I recommend updating immediately. 2.10 won't resolve this issue for you, though: follow that link.

erin814’s picture

Thanks, I changed the permissions on the libraries and mailchimp folders to 777 but still no luck. Also upgraded to Mailchimp7.x-2.10. My site is somewhat complicated with a lot of modules so it could just be an issue unique to my site since no one else is reporting it. I'll keep plugging away at it and post if I find a solution.

Thank you,


relish27’s picture

I also am having the same problem.

relish27’s picture

Actually, I followed this -- http://drupal.org/node/1883984#comment-7002038 -- and got it to work.

gcb’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
ericamp’s picture

I had the same problem. It disappeared when I added README file to libraries/mailchimp/ directory (it is required)

wiifm’s picture

Version: 7.x-2.9 » 7.x-2.x-dev
Status: Closed (duplicate) » Needs review
637 bytes

I am going to re-open this issue, and remove the duplicate tag.

My problem is that we utilise .gitattributes in order to remove certain files from our git repo from making it to staging or production. One global file pattern we use is README (along with many others). The reason being is we do not want to serve essentially useless text files to the general public, not only is this bad practice, it can be a security hole as it advertises the versions of modules and libraries you are running.

Attached is a patch the removes the dependency on the MailChimp API README file, keeping it solely for it's intended purpose - i.e. reading about the API. The version of the API is also defined in the the PHP class, and is trivial to parse out.

I suggest we use this file to define the version.

Does anyone else have thoughts on this?

wiifm’s picture

Title: The version of the MailChimp MCAPI library could not be detected. » Remove the dependency on the README file in the MCAPI library

Updating the title to reflect the new scope of the issue.

gcb’s picture

Status: Needs review » Closed (fixed)

Thanks wiifm, that's a great patch. It's been rolled into the latest Dev and will be in a stable release very very soon.

wiifm’s picture

Many thanks @gcb!