<?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: Ajax error while setting post template</title>
		<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template</link>
		<description>Gravity Support Forums Topic: Ajax error while setting post template</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:47:50 +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/ajax-error-while-setting-post-template" rel="self" type="application/rss+xml" />

		<item>
			<title>Wheaton College on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2691</link>
			<pubDate>Wed, 13 Jan 2010 12:47:10 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">2691@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;FYI -- The problems I am seeing are definitely related to these settings in wp-config.php.&#60;/p&#62;
&#60;p&#62;define('FORCE_SSL_ADMIN', true);&#60;br /&#62;
define('FORCE_SSL_LOGIN', true);&#60;/p&#62;
&#60;p&#62;If I comment out the first one, Gravity Forms seems to work &#34;better&#34;, while maintaining the secure login.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wheaton College on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2690</link>
			<pubDate>Wed, 13 Jan 2010 12:29:33 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">2690@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Perhaps the SSL issue is a red herring. However, I am seeing another SSL issue with Gravity Forms. Specifically, on the Gravity Form admin pages, there are mixed-content warnings, indicating a mix of HTTP and HTTPS content on the same page. &#60;/p&#62;
&#60;p&#62;For example, these resources are called via an HTTP url, when really they should have an HTTPS url.&#60;/p&#62;
&#60;p&#62;&#38;lt;script type='text/javascript' src='http://servername/test/wp-content/plugins/gravityforms/js/jquery.qtip-1.0.0-rc2.min.js?ver=2.8.6'&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type='text/javascript' src='http://servername/test/wp-content/plugins/gravityforms/js/qtip_init.js?ver=2.8.6'&#38;gt;&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;and&#60;/p&#62;
&#60;p&#62;&#38;lt;img src=&#34;http://servername/test/wp-content/plugins/gravityforms/images/gravity-admin-icon.png&#34; alt=&#34;&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;It would be ideal if Gravity Forms sensed if SSL was active and did the right thing here. &#60;/p&#62;
&#60;p&#62;Thanks.&#60;br /&#62;
-Bill
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wheaton College on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2687</link>
			<pubDate>Wed, 13 Jan 2010 12:09:14 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">2687@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For what it's worth, I'm a brand new customer and I am seeing the exact same problem with WPMU. Reverting to the Kubrick theme does not help. &#60;/p&#62;
&#60;p&#62;Any advice? Thanks.&#60;/p&#62;
&#60;p&#62;edit: I am running the admin with SSL. I noticed that the ajax code calls:&#60;/p&#62;
&#60;p&#62;var mysack = new sack(&#34;http://servername/test/wp-admin/admin-ajax.php&#34; );&#60;/p&#62;
&#60;p&#62;My guess is that this needs to be SSL'd. &#60;/p&#62;
&#60;p&#62;In the gravity forms source, I see that this is called with a line like:&#60;/p&#62;
&#60;p&#62;var mysack = new sack(&#34;&#38;lt;?php bloginfo( 'wpurl' ); ?&#38;gt;/wp-admin/admin-ajax.php&#34; );&#60;/p&#62;
&#60;p&#62;Since bloginfo( 'wpurl' ); is the public (non-ssl'd) url, I am not sure how to fix this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matt_v on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2305</link>
			<pubDate>Tue, 22 Dec 2009 11:18:13 +0000</pubDate>
			<dc:creator>matt_v</dc:creator>
			<guid isPermaLink="false">2305@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey guys,&#60;br /&#62;
I got someone on EE asking me how you determined that the AJAX request was being sent w/ 'OPTIONS' instead of 'POST'.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2276</link>
			<pubDate>Mon, 21 Dec 2009 04:17:01 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">2276@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Matt,&#60;br /&#62;
Following is the Javascript code that executes the AJAX. It uses the SACK library that comes with WordPress.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;p&#38;gt;var mysack = new sack(&#38;quot;&#38;lt;?php bloginfo( &#38;#39;wpurl&#38;#39; ); ?&#38;gt;/wp-admin/admin-ajax.php&#38;quot; );
    mysack.execute = 1;
    mysack.method = &#38;#39;POST&#38;#39;;
    mysack.setVar( &#38;quot;action&#38;quot;, &#38;quot;rg_save_form&#38;quot; );
    mysack.setVar( &#38;quot;rg_save_form&#38;quot;, &#38;quot;&#38;lt;?php echo wp_create_nonce(&#38;quot;rg_save_form&#38;quot;) ?&#38;gt;&#38;quot; );
    mysack.setVar( &#38;quot;id&#38;quot;, form.id );
    mysack.setVar( &#38;quot;form&#38;quot;, jQuery.toJSON(form) );
    mysack.encVar( &#38;quot;cookie&#38;quot;, document.cookie, false );
    mysack.onError = function() { alert(&#38;#39;&#38;lt;?php _e(&#38;quot;Ajax error while  saving your form&#38;quot;, &#38;quot;gravityforms&#38;quot;) ?&#38;gt;&#38;#39; )};
    mysack.runAJAX();&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>matt_v on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2255</link>
			<pubDate>Sat, 19 Dec 2009 13:48:24 +0000</pubDate>
			<dc:creator>matt_v</dc:creator>
			<guid isPermaLink="false">2255@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Would it be possible for you to please post the part of your code that it is making AJAX request to the APache server?&#60;/p&#62;
&#60;p&#62;I am not trying to modify/steal anything... I would just like to be able to show this small portion of code to someone else so that I can prove that you guys are doing your part right.&#60;/p&#62;
&#60;p&#62;The people that I have talked to so far are thinking that it is the code that is written incorrectly, so until I can show them that it is right, I can not prove that it isn't the code causing the problem.&#60;/p&#62;
&#60;p&#62;Thanks for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2191</link>
			<pubDate>Wed, 16 Dec 2009 14:47:15 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">2191@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Matt,&#60;br /&#62;
The problem is that something on your system (hosting or WP install) is causing the AJAX request to be sent to the server with the &#34;OPTIONS&#34; method instead of &#34;POST&#34;. This prevents the AJAX request from being processed correctly.&#60;/p&#62;
&#60;p&#62;I am not sure what exactly could do this, but I would start by setting up an out of the box WP install and see if the problem persists. If so, I would contact your hosting provider.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matt_v on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2156</link>
			<pubDate>Sat, 12 Dec 2009 20:14:42 +0000</pubDate>
			<dc:creator>matt_v</dc:creator>
			<guid isPermaLink="false">2156@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just sent you an email ...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2155</link>
			<pubDate>Sat, 12 Dec 2009 19:55:54 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2155@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think the missing image is probably just  bug on our end, we made some changes in the 1.3 release and this could be related to that.  We will look at it.&#60;/p&#62;
&#60;p&#62;As for the specific issue you are having, can you provide us with a WordPress login for this site so we can take a look? You can send it to us via the Contact Us form or email it to me directly at carl -at- rocketgenius.com and we can take a look at it and see whats going on.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matt_v on "Ajax error while setting post template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-error-while-setting-post-template#post-2154</link>
			<pubDate>Sat, 12 Dec 2009 19:25:17 +0000</pubDate>
			<dc:creator>matt_v</dc:creator>
			<guid isPermaLink="false">2154@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I really do think that there is a problem with the version that I downloaded because of the missing images folder that I mentioned earlier.&#60;/p&#62;
&#60;p&#62;What do you think?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
