The API Key you entered seems to be incorrect! after update

More
28 Apr 2011 16:45 #1058 by klox7
Hello!

I had an install of Joomlamailer 1.6.1 and everything was fine (ok, except that register button in module did not do anything) but after UPDATE to 1.7 I get MailChimp API key error:
The API Key you entered seems to be incorrect!

If I update the component everything is OK at first, but after couple of navigation moves error appears.

If I do a fresh INSTALL the API key is rejected from start.

Here are also some errors that I found after update:
Warning: Invalid argument supplied for foreach() in administrator/components/com_joomailermailchimpintegration/views/campaigns/view.html.php on line 280
Warning: Invalid argument supplied for foreach() in /administrator/components/com_joomailermailchimpintegration/views/campaigns/tmpl/default.php on line 42
Warning: Invalid argument supplied for foreach() in //administrator/components/com_joomailermailchimpintegration/views/main/tmpl/default.php on line 208
Warning: Invalid argument supplied for foreach() in /plugins/system/joomailermailchimpsignup/elements/lists.php on line 92

Please Log in or Create an account to join the conversation.

More
28 Apr 2011 17:36 #1060 by pete
Hello klox7,

Are you using Joomla 1.5 or 1.6?

When the register button in the module doesn't work, you have most likely javascript errors from other extensions on your page.

Have you tried to enter the api key directly in the parameters instead on the splash screen?

Kind regards,
Pete

Please Log in or Create an account to join the conversation.

More
28 Apr 2011 17:45 #1061 by klox7
hello,
I'm using joomla 1.5.23...is 1.7 only for 1.6?
Yes, I have tried to enter API key directly in the parameters.
Thanks

Please Log in or Create an account to join the conversation.

More
28 Apr 2011 17:53 #1062 by pete
joomlamailer 1.7 works with both. Would you mind sending me a superadmin login to your site? I cant find anything in the code that would explain such behavior like removing or altering the stored api key. pete@freakedout.de

Please Log in or Create an account to join the conversation.

More
28 Apr 2011 20:58 #1073 by klox7

Please Log in or Create an account to join the conversation.

More
03 May 2011 13:46 #1096 by klox7
Here is the solution from Pete in one of the other posts. It worked for me.

Pete wrote: Most likely your PHP version does not have the OpenSSL module installed. Therefore joomlamailer can't create a secure connection to MailChimp.
Please edit the file /administrator/components/com_joomailermailchimpintegration/libraries/MCAPI.class.php
Replace line 19 where it says: $scheme = ...

with:

Code:
$scheme = ($secure && defined( 'OPENSSL_VERSION_NUMBER')) ? 'https' : 'http';

This fix will be added to the next version (1.7.1).


Thanks again Pete.

Regards
Matt

Please Log in or Create an account to join the conversation.

More
18 May 2011 11:36 #1183 by jaimesteele
Having a similar error on www.mealsfromscratch.co.uk . Joomla 1.6 and joomlamailer 1.7

on reports tab i get Warning: Invalid argument supplied for foreach() in /home/scratch/public_html/administrator/components/com_joomailermailchimpintegration/views/campaigns/view.html.php on line 280

and the signup form isn't responding.

Many thanks

Jaime

Please Log in or Create an account to join the conversation.

More
19 May 2011 01:01 #1186 by gregwright03
Hi

I've made the changes and still not luck I'm afraid. Where do I go next?

Cheers

Please Log in or Create an account to join the conversation.

More
20 May 2011 08:55 #1199 by juanmoreno
Hello,

I have a Joomla 1.6.3 system and also having the same issues as above. Attempted the OpenSSL Module fix editing the file /administrator/components/com_joomailermailchimpintegration/libraries/MCAPI.class.php but key is still not accepted.

This is for latest version 1.7 so any extra help or things to try would be greatly appreciated. Videos on usage and component itself looks fantastic so hopefully there are some more updates on this issue?

Thanks!

Please Log in or Create an account to join the conversation.

More
20 May 2011 14:02 #1200 by pete
Please replace the file /administrator/components/com_joomailermailchimpintegration/libraries/MCAPI.class.php with the attached one (UNZIP first!)

Kind regards,
Pete

Attachment: MCAPI.zip

EDIT: This change has been applied to the current version (1.7.2)!

Please Log in or Create an account to join the conversation.