I'm try to set up Mailchimp module but i keep geeting

Failed to load MailChimp PHP library. Please refer to the installation requirements.

My steps:

  • disable mailchimp module
  • install composer_manager package locally
  • run: curl -sS https://getcomposer.org/installer | php on my root
  • change composer.json(which lay on my root) - see it below
  • run: php composer.phar install --no-dev
  • mailchimp/mailchimp directory is installed in my /vendor folder
  • clear cache and enable module but still getting the error. In my report i see that the module cannot be found.

Just to specify: I run composer on my local and then upload: composer.json, composer.lock, composer.phar and vendor/mailchimp on my ftp

What i'm doing wrong??

{
    "name": "drupal/composer_manager",
    "type": "drupal-module",
    "description": "Composer Manager is a bridge to best-in-breed, standards compliant PHP libraries that are managed by Composer and Packagist.",
    "homepage": "http://drupal.org/project/composer_manager",
    "license": "GPL-2.0",
    "authors": [
        {
            "name": "Chris Pliakas",
            "email": "opensource@chrispliakas.com",
            "role": "Project Lead"
        },
        {
            "name": "See contributors",
            "homepage": "http://drupal.org/node/1929436/committers",
            "role": "Developer"
        }
    ],
    "support": {
        "issues": "http://drupal.org/project/issues/composer_manager"
    },
    "require": {
        "php": ">=5.3.0",
        "mailchimp/mailchimp": ">=2.0.4"
    }
}

MailChimp module => 7x.3-3

mailchimp library => 2.04

Comments

designbygio’s picture

Category: Support request » Bug report
CountPacMan’s picture

CountPacMan’s picture

Status: Active » Postponed (maintainer needs more info)

@designbygio: do you have caching enabled? Flushing the cache db may solve it if you do. Also, is the Libraries API installed?

ruscoe’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

We're going to be ending support for the 7.x-3.x branch due to the upcoming deprecation of the v2.0 MailChimp API. If you're still seeing this issue with the most recent release, please feel free to reopen for the 7.x-4.x branch.

Patricia_W’s picture

I'm seeing this with MailChimp 7.x-4.7.
Actually the message is "The version of the MailChimp API library could not be detected."

TheoRichel’s picture

I get the message 'The MailChimp API library could not be found.'

I am on Drupal 7.71, PHP 7.3 and Mailchimp 5.6 and try to install the MC Library 1.010. This version is supposed to be installable manually (without Drush/composer).

I have put the unzipped folder in either libraries\thinkshout\mailchimp-api or libraries\mailchimp-api, but it keeps complaing that the library can not be found.
What do I do wrong?