Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
designbygio CreditAttribution: designbygio commentedComment #2
CountPacMan CreditAttribution: CountPacMan at ThinkShout commentedComment #3
CountPacMan CreditAttribution: CountPacMan at ThinkShout commented@designbygio: do you have caching enabled? Flushing the cache db may solve it if you do. Also, is the Libraries API installed?
Comment #4
ruscoe CreditAttribution: ruscoe as a volunteer commentedWe'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.
Comment #5
Patricia_W CreditAttribution: Patricia_W commentedI'm seeing this with MailChimp 7.x-4.7.
Actually the message is "The version of the MailChimp API library could not be detected."
Comment #6
TheoRichel CreditAttribution: TheoRichel commentedI 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?