The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.
Howdy, yes on the wordpress. No on premade scripts. Unsure what you mean about "Turning off the echo of the HTTP response" Unless you mean that i am explicitly echoing that which i am not. I found the trigger, if not the actual cause, and have fixed the problem Not sure of the exact cause, but the trigger is sending an empty var to $oConstantContact->subscriberExists($emptyvar) If that method gets a real email address, things are normal. $oConstantContact->subscriberExists($aPostFields['email_address']) so, I had a bug in my code which was giving subscriberExists() an empty variable, this is what causes the page info to be inserted into the actual page. If i give it an email address, it works fine.
... View more
I've got the constant contact api working ok, but if I try to submit a duplicate email address, I get a The requested URL returned error: 409 which means duplicate, yeah, but this text is being inserted into my <body> with part of a wordpress page with it. Like I get that message and then a bunch of css and js head tags. Inserted into the page that I'm working with. I'm doing this from wordpress and I can see that the page being inserted is part of a wordpress page. here's my body tag and the error msg <body class="centered">
The requested URL returned error: 409 then there's all this <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Contact Us | cos ipad fb</title>
<link rel="stylesheet" type="text/css" media="all" href="http://cosipadfb/cos-ipad-fb/wp-content/themes/cos-ipad-fb/style.css">
<link rel="pingback" href="http://cosipadfb/cos-ipad-fb/xmlrpc.php">
<link rel="icon" type="image/png" href="/CSAS-favicon.png">
<link rel="alternate" type="application/rss+xml" title="cos ipad fb » Contact Us Comments Feed" href="http://cosipadfb/cos-ipad-fb/contact-us/feed/">
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://cosipadfb/cos-ipad-fb/xmlrpc.php?rsd">
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://cosipadfb/cos-ipad-fb/wp-includes/wlwmanifest.xml">
<link rel="prev" title="home" href="http://cosipadfb/cos-ipad-fb/">
<meta name="generator" content="WordPress 3.3.1">
<!-- template-home.php xxxxxxx -->
<!-- choose sub tpl -->
<div id="main" and that's my main div tag, and then the rest of my page. (if youre wondering why my links look like http://cosipad/ it's because i am deving locally with alias and modded hosts file) any clues?
... View more