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
Problems:
Trying to add a list creates a WSOD and error log says: [Wed Jan 16 16:48:22 2013] [error] [client 92.23.27.66] PHP Fatal error: Class 'MCAPI' not found in /var/www/vhosts/XXX/httpdocs/sites/all/modules/mailchimp/includes/mailchimp.inc 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.
Comments
Comment #1
levelos CreditAttribution: levelos commentedPlease follow the installation directions in the README. You probably did not include the required library files.
Comment #2
adshill CreditAttribution: adshill commentedAs 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?
Comment #3
adshill CreditAttribution: adshill commentedI'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.
Comment #4
adshill CreditAttribution: adshill commentedFor more info, to get it working I had to uninstall everything and reinstall, I also had to create a new API key.
Comment #5
gcbThe 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?
Comment #6
levelos CreditAttribution: levelos commentedComment #7
liquidcms CreditAttribution: liquidcms commentedi 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)
Comment #8
liquidcms CreditAttribution: liquidcms commentedi ran update.php and it seemed to fix the issue. :)
Comment #9
levelos CreditAttribution: levelos commentedComment #10
batigolixAdded a note about downloading the MCAPI lilbrary to the mailchimp documentation