'Invalid campaign ID' error....

More
17 Aug 2010 23:17 #50 by dosto233
I tried creating a test campaign, After receiving the "Your campaign 'Test' has been successfully created. This page allows you to test and send the campaign' message, I put in a test email, hit 'send test' and I receive and 'Invalid Campaign ID' error. When I go back to the 'Campaign' page they are there, listed under 'Saved'.

I've tried this several times, with no success, and the campaigns are there, but I keep getting the 'Invalid ID' error. I can't think of any other components that could be causing a conflict or any other issues. Any ideas??

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

More
19 Aug 2010 16:07 #56 by robertatpulp
I am experiencing the same error. Anything?

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

More
19 Aug 2010 16:22 #57 by pete
This happens if you don't select a list. Of course it's actually not necessary for a test to select a list so we have fixed this error in the latest version (1.0.5). Please note that before installing 1.0.5 you have to uninstall the previous version first using the Joomla extension manager! Apologies for the inconvenience but we had to rename the component due to Joomla regulations having been enforced very strictly on us.

Kind regards,
Pete

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

More
19 Aug 2010 17:04 #58 by robertatpulp
I am using the latest version yet still experiencing the problem. Do you have any other suggestions?

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

More
19 Aug 2010 20:27 #59 by dosto233
I uninstalled all 3, reinstalled the latest versions as you instructed and I'm still having the same error. BTW, I tried choosing a list (thought that might be the issue) but the problem happened anyway on the previous version AND the latest.

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

More
19 Aug 2010 21:17 #60 by pete
Can you please help us out and edit the file:
/administrator/components/com_joomailermailchimpintegration/controllers/send.php
Add this at the end of line 157:
var_dump($MC);
and at the end of line 160:
var_dump($MC);die;
Then save the file and try to send a test. Post the upcoming message here in the forums. Remove your API Key from the message before posting!!!

This will help us figure out why it fails.

Thanks guys.
Pete

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

More
20 Aug 2010 00:34 #61 by dosto233
Glad to help. Ok heres what it spit out.....
Code:
object(MCAPI)#200 (8) { ["version"]=> string(3) "1.2" ["errorMessage"]=> string(196) "The HTTP server returned error code "401". Only a 2xx response is acceptable: http://www.mydomain.com/administrator/components/com_joomailermailchimpintegration/archive/Test_Campaign.html" ["errorCode"]=> int(311) ["apiUrl"]=> array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(17) "api.mailchimp.com" ["path"]=> string(5) "/1.2/" ["query"]=> string(10) "output=php" } ["timeout"]=> int(300) ["chunkSize"]=> int(8192) ["api_key"]=> string(36) "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ["secure"]=> bool(false) } object(MCAPI)#200 (8) { ["version"]=> string(3) "1.2" ["errorMessage"]=> string(21) "Invalid Campaign ID: " ["errorCode"]=> int(300) ["apiUrl"]=> array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(17) "api.mailchimp.com" ["path"]=> string(5) "/1.2/" ["query"]=> string(10) "output=php" } ["timeout"]=> int(300) ["chunkSize"]=> int(8192) ["api_key"]=> string(36) "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ["secure"]=> bool(false) }

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

More
20 Aug 2010 11:45 #62 by pete
Cheers.
It looks like the MailChimp server isn't able to read the campaign file. Is it possible that you have a htaccess password protection on your site?
When you copy the link "...archive/Test_Campaign.html" stated in the error message into the address bar of your browser, does it load even if you're not logged in to your site?

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

More
20 Aug 2010 19:10 #63 by kenlyle
Here's mine, from today's version, freshly installed.

object(MCAPI)#173 (8) { ["version"]=> string(3) "1.2" ["errorMessage"]=> string(59) "subject - This field can not contain conditional merge tags" ["errorCode"]=> int(311) ["apiUrl"]=> array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(17) "api.mailchimp.com" ["path"]=> string(5) "/1.2/" ["query"]=> string(10) "output=php" } ["timeout"]=> int(300) ["chunkSize"]=> int(8192) ["api_key"]=> string(36) "noneofyourbeeswax" ["secure"]=> bool(false) } object(MCAPI)#173 (8) { ["version"]=> string(3) "1.2" ["errorMessage"]=> string(21) "Invalid Campaign ID: " ["errorCode"]=> int(300) ["apiUrl"]=> array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(17) "api.mailchimp.com" ["path"]=> string(5) "/1.2/" ["query"]=> string(10) "output=php" } ["timeout"]=> int(300) ["chunkSize"]=> int(8192) ["api_key"]=> string(36) "noneofyourbeeswax" ["secure"]=> bool(false) }

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

More
20 Aug 2010 20:00 #66 by pete
The current version of Joomailer throws the 'Invalid Campaign ID' error when you use merge tags (personalization) in the subject line, so please don't use them. We will take care of that issue in the next version.

Kind regards,
Pete

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