Lee Willis

Debugging Problems with the Campaign Monitor Widgets

| 5 Comments

Some people have had problems setting up the Campaign Monitor Signup Widgets, getting the widget up, but then receiving the “Sorry, we weren’t able to sign you up.” message.

In most cases this is down to one of two issues:

  • An incompatibility of PHP version – the plugin requires PHP 5.2 or above.
  • Incorrect API details – the plugin needs to use the Account ID, and List ID, not the Client

So – these should always be the first things to check. If you’re still having problems, then the guide below explains how to see what error messages are being generated. To diagnose this you’ll need a copy of “Firefox”, and the “Firebug” extension. (Note: You can also do similar with Chrome, and its developer tools if you know your way around them instead).

To start, open the page with the widget on, and open up firebug. Switch to the “Net” panel – you should see something like this (Click for bigger version):

Submit the form, and you should see a “request” logged in the net panel – it’s an HTTP POST request – so should start with POST, like this:

Click on the + symbol to the left of the POST to see the details of the request:

Click on the “Response” to see what data the AJAX POST is outputting – the error message should give you an idea of what’s not working.

5 Comments

  1. I was having some problems getting this sidebar widget to work across an entire site.. Turns out, there can only be one instance of the widget in a sidebar. If you install the widget across multiple sidebars, it no longer works. Just create a new sidebar specifically for this campaign monitor plugin, and add it to all the templates on top of you regular sidebar.

    Hope this helps someone!

    • Hi Jeremy,

      You should certainly be able to publish the widget multiple times – can you drop me a note and let me know exactly what problems you had?

      ie – Would it not create two copies? Did the settings not save properly? Did it not render on the frontend? Would the Ajax not run?

      • I’ve just pushed out v0.9 to wordpress.org which fixes the problem where publishing the widget multiple times wouldn’t always work thanks to Jeremy’s assistance.

  2. Hello,
    I did the set above and this is what I get from firebug: FAILED50: Must supply a valid HTTP Basic Authorization header. How do I fix this?

Leave a Reply

Required fields are marked *.