• Resolved jrenman

    (@jrenman)


    Hi,

    I have installed the MailChimp widget on my site AlwaysActing.com in the footer and I have been unable to get it to work correctly. Any e-mail I put in returns that there was a problem with the submission. Occasionally a confirmation e-mail will still be sent even though it says it failed but this is not consistent.
    Any advice on what the problem is would be greatly appreciated.

    Thank-you,
    Jessica

Viewing 15 replies - 1 through 15 (of 15 total)
  • I think I’m having the same problem.

    In my console, I’m getting the following error when loading the page.

    TypeError: ‘undefined’ is not a function (evaluating ‘jQuery(‘#ns_widget_mailchimp_form-4′).ns_mc_widget’)

    For more information, I’m using WordPress 3.2.1 in a multi-site configuration.

    Thanks for the info! Which version of the plugin are you seeing this with?

    Thread Starter jrenman

    (@jrenman)

    Version 0.8.7 on WordPress 3.2.1

    Also 0.8.7 here.

    My initial jquery errors appears to be due to a conflict between multiple jquery installs and their load order. After clearing that I noticed another issue. The widget appears to always want to go back to the index.php at the root of the site, which isn’t working because the multi-site config I’m using has a different site there.

    Seems that /wp-content/plugins/mailchimp-widget/lib/ns_widget_mailchimp.class.php

    Line 300:

    $_SERVER[‘PHP_SELF’]

    should be:

    $_SERVER[‘REQUEST_URI’]

    so the form returns to the page it’s coming from even if permalinks are used.

    Still haven’t got the widget fully working, but at least these changes cleared my initial jQuery error and then cleared a Server 500 error when the form was trying to always go to my root index.php.

    Ok, my last issue was on the MailChimp side. The person who setup the list set a Birthday field to be required and that was causing the form submit to be rejected.

    Hi Endymion00,

    Is all good now, or do you need further assistance in getting the plugin to work for you? (Forgive the slow reply, as my day job has kept me awfully busy of late. πŸ™‚ )

    Cheers,

    James

    jrenman,

    Just visited your site and I can confirm that I am, in fact, having trouble signing up for your mailing list. If you drop me an email off list, I’d be more than happy to take a closer look at the problem for you. It could be any number of things… A bad API key, a configuration problem on the MailChimp side, or an actual issue with the plugin. From this vantage point, though, it’s tough to say. My email address is in the plugin, and I will respond to you as soon as I get your email.

    When we figure out what’s up, we’ll bring the solution back on list.

    Cheers,

    James

    jameslafferty,

    Everything’s good now, you just may want to take a look at the line edit I mentioned for better compatibilty since it wouldn’t work for me without the change, but it should work fine for others with the revised server variable.

    jrenman,

    I don’t see any console errors on your site like I was initially getting, so it’s possible you have a Mail Chimp issue like I had last.

    On Mail Chimp, go to Account–>API Keys and Authorized Apps.

    At the bottom you’ll see “Last 24 hours of API calls” which will show you successful (green) attempts and unsuccessful (red) attempts. If you’re seening red ones, then the widget is likely fine, but you may have a required field like I did that was causing things to break. So, check the list settings to see if any of the fields are required.

    Hi Endymion00,

    Thanks for getting back to me… I’m going to leave the issue open pending a response from jrenman, but it’s good to hear you got your issue resolved.

    I’ll also include your suggested change in my next release of the plugin (I’m also working on implementing some output markup changes per some very good suggestions I’ve gotten both here and at Github). Thank you for your input!

    James

    Yeah, some additional markup would make styling it a little easier, but I got around it to make it look how I needed.

    http://www.wonderworksonline.com/orlando/
    The Newsletter signup at the mid-top of all pages.

    It also would be nice to have a easier way to keep the form visible once signed up as discussed at the following link. I’m using the hard-coded method that sets to false so it doesn’t permanently disappear.

    http://wordpress.org/support/topic/plugin-mailchimp-list-subscribe-form-how-to-make-the-subscribe-widget-constant?replies=6

    Also, the default Ajax loader gif is on a white background so maybe using a more transparency safe version would be better. I ended up just getting another one from http://www.ajaxload.info/

    Thread Starter jrenman

    (@jrenman)

    I looked at the “Last 24 hours of API calls” and they are all red but looking at my list settings there is only e-mail, first and last name with the e-mail and first name being the only required entries.
    Forgive my ignorance, but where can I find your (jameslafferty) e-mail?

    Hi jrenman,

    My email address is james at nearly sensical dot com, no underscores all one word. πŸ™‚

    Cheers,

    J.

    We got it working. The issue was related to the naming of merge fields inside of MailChimp. For now, if anyone is running into any similar issues, go to Lists >> Settings >> Fields and Merge Tags and make sure the “Required” box is unchecked across the board. If you’re having difficulty getting First Name and Last Name fields to come through, please try changing the “Stick this tag in your content:” field to FNAME and LNAME.

    I’m going to go ahead and close the issue.

    Cheers,

    J.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: MailChimp WIdget] Not Working’ is closed to new replies.