<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Premature end of script headers error</title>
		<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error</link>
		<description>Gravity Support Forums Topic: Premature end of script headers error</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:35:35 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/premature-end-of-script-headers-error" rel="self" type="application/rss+xml" />

		<item>
			<title>katesusskind on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-53335</link>
			<pubDate>Sat, 24 Mar 2012 12:16:26 +0000</pubDate>
			<dc:creator>katesusskind</dc:creator>
			<guid isPermaLink="false">53335@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@rdooh, we are using the same server/host set-up, i.e., MediaTemple (gs), and are seeing the &#34;premature end...&#34; error in our error logs after an Error 500. I am investigating, but please post if you find anything useful.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rdooh on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-53223</link>
			<pubDate>Thu, 22 Mar 2012 17:12:23 +0000</pubDate>
			<dc:creator>rdooh</dc:creator>
			<guid isPermaLink="false">53223@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Update regarding the points &#34;Strangely enough, I didn't do anything... ...it seems like the form is working correctly now.&#34;&#60;br /&#62;
- I have had the same sort of experience where if I resubmit after a failure, it 'magically' starts working.  However, I have also found that things may just as 'magically' stop working with no changes to the code.  In some cases, I saved some new settings for the form (like bcc email addresses), and in others, just changed the test data submitted... sometimes it seems like there is a 'caching' aspect involved, where significant changes 'break' things temporarily, and then repeated use 'fixes' it again.  Doesn't make much sense to my, but maybe there is something going on at the server end where things become dislocated...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rdooh on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-53222</link>
			<pubDate>Thu, 22 Mar 2012 17:04:29 +0000</pubDate>
			<dc:creator>rdooh</dc:creator>
			<guid isPermaLink="false">53222@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have had the same sort of problem - inconsistent failure yielding the 'premature end of script' error.&#60;/p&#62;
&#60;p&#62;Scenario:&#60;br /&#62;
- server/host: MediaTemple (gs)&#60;br /&#62;
- form submission sometimes fails, sometimes passes - no definite pattern&#60;br /&#62;
- when a submission fails, usually the Notification to User goes through, but Notification to Administrator does not&#60;br /&#62;
- making these two messages identical does not have any effect&#60;br /&#62;
- removing the Notification to User (ie performing a mail operation only once) seems to resolve the failure&#60;/p&#62;
&#60;p&#62;Speculation:&#60;br /&#62;
- there is something about having the plugin send out mail to multiple groups on this particular server setup that chokes the server on the second mail attempt&#60;/p&#62;
&#60;p&#62;I don't know much about server environments, nor have I taken a good look at the mechanics of the Gravity plugin to speculate further.  I would be curious to know if other people are having this problem with the same host, or if there are other known &#34;gotcha's&#34; with calling mail() multiple times...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-40620</link>
			<pubDate>Wed, 09 Nov 2011 14:15:02 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">40620@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's possible.  It could also have been some sort of problem with the server itself related to php5.  Hard to tell without being able to reproduce the issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dan Philibin on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-40607</link>
			<pubDate>Wed, 09 Nov 2011 12:48:14 +0000</pubDate>
			<dc:creator>Dan Philibin</dc:creator>
			<guid isPermaLink="false">40607@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I submitted a few more test entries and it seems like the form is working correctly now. Could the error still be related to the theme?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dan Philibin on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-40605</link>
			<pubDate>Wed, 09 Nov 2011 12:39:45 +0000</pubDate>
			<dc:creator>Dan Philibin</dc:creator>
			<guid isPermaLink="false">40605@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris - thanks for looking into this. Strangely enough, I didn't do anything. And during my testing this happened a few times, but I just regarded it as something I changed in the code to make it work. But I haven't touched the code at all since I posted this message.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-40597</link>
			<pubDate>Wed, 09 Nov 2011 11:26:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">40597@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Oddly enough, I just submitted a test, and the submission went through fine and I saw the confirmation message.  Maybe you have already fixed the problem?  If so, can you tell us what you did?  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-40596</link>
			<pubDate>Wed, 09 Nov 2011 11:24:41 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">40596@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If it submits fine from the preview, it is likely a theme or plugin conflict.  You can determine which by testing &#60;a href=&#34;http://rkt.gs/testing&#34; rel=&#34;nofollow&#34;&#62;http://rkt.gs/testing&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can quickly determine if it's the theme causing you trouble by activating the default Twenty Eleven theme and see if it works.&#60;/p&#62;
&#60;p&#62;You don't need all the output from debug, but you do need a more verbose error message.  &#34;Premature end of script headers&#34; means there was unexpected output.  But we don't know what that was, or why it's happening.&#60;/p&#62;
&#60;p&#62;Also, be sure you have the latest WordPress and Gravity Forms version.  If that's the case, you might have to fix some portions of the theme to get this working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dan Philibin on "Premature end of script headers error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/premature-end-of-script-headers-error#post-40194</link>
			<pubDate>Sat, 05 Nov 2011 19:39:52 +0000</pubDate>
			<dc:creator>Dan Philibin</dc:creator>
			<guid isPermaLink="false">40194@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I'm working on a form found here: &#60;a href=&#34;http://www.creditmindsetprofessionals.com/form-test?form_id=12&#34; rel=&#34;nofollow&#34;&#62;http://www.creditmindsetprofessionals.com/form-test?form_id=12&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;When the form is submitted I get a 500 internal server error, and the error log's error is just this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;[Sat Nov 05 16:09:57 2011] [error] [client 207.255.45.232] Premature end of script headers: php5, referer: &#60;a href=&#34;http://www.creditmindsetprofessionals.com/form-test?form_id=12&#34; rel=&#34;nofollow&#34;&#62;http://www.creditmindsetprofessionals.com/form-test?form_id=12&#60;/a&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If I turn debugging on, TONS of errors are spit out, most of them relating to the theme: &#60;a href=&#34;http://cl.ly/1n0m0m3408180a3W1w1G&#34; rel=&#34;nofollow&#34;&#62;http://cl.ly/1n0m0m3408180a3W1w1G&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;And if I preview the form through the admin on its own page, it submits just fine. Does this mean that all the errors from the theme are breaking the form submission? Is there any way around this? It's not my theme, it's an older one, and I'm not going to go back and update their code to remove all those errors.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Dan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
