<?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: Child site gorms in a multisite do not get created until you login to backend</title>
		<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend</link>
		<description>Gravity Support Forums Topic: Child site gorms in a multisite do not get created until you login to backend</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 20:12:03 +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/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend" rel="self" type="application/rss+xml" />

		<item>
			<title>m4change on "Child site gorms in a multisite do not get created until you login to backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend#post-19259</link>
			<pubDate>Wed, 23 Feb 2011 16:46:15 +0000</pubDate>
			<dc:creator>m4change</dc:creator>
			<guid isPermaLink="false">19259@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;code&#62;Fatal error: Class &#38;#39;GFExport&#38;#39; not found in /path/to/site/public/wp-content/plugins/gravityforms/gravityforms.php on line 346&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I tried changing it all the way down to 100, with no luck.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Child site gorms in a multisite do not get created until you login to backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend#post-19255</link>
			<pubDate>Wed, 23 Feb 2011 15:57:31 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">19255@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms gets initialized in the &#34;init&#34; hook with the default priority of 10.&#60;br /&#62;
If you change your priority to 11, I am pretty sure it will work for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>m4change on "Child site gorms in a multisite do not get created until you login to backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend#post-19242</link>
			<pubDate>Wed, 23 Feb 2011 13:22:06 +0000</pubDate>
			<dc:creator>m4change</dc:creator>
			<guid isPermaLink="false">19242@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That results in:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Fatal error: Class &#38;#39;GFCommon&#38;#39; not found in /path/to/site/public/wp-content/plugins/gravityforms/gravityforms.php on line 217&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I tried lowering the priority to 2 as well, still fails (add_action( 'init', 'set_xml_path', 2 );)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Child site gorms in a multisite do not get created until you login to backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend#post-19239</link>
			<pubDate>Wed, 23 Feb 2011 12:54:22 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">19239@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If I understand the problem correctly (not sure that I do), the following should work.&#60;br /&#62;
Note: I also removed the include to export.php. Do you really need it?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Set Subsite Gravity Forms XML File Path */
add_action( &#38;#39;init&#38;#39;, &#38;#39;set_xml_path&#38;#39;, 1 );

function set_xml_path( ){

  global $blog_id; 

  $xml_path = ABSPATH.&#38;quot;wp-content/blogs.dir/&#38;quot;.$blog_id.&#38;quot;/gforms_files/gravityforms.xml&#38;quot;;
  define( &#38;quot;GF_IMPORT_FILE&#38;quot;, $xml_path );

  RGForms::setup();

}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>m4change on "Child site gorms in a multisite do not get created until you login to backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend#post-19227</link>
			<pubDate>Wed, 23 Feb 2011 12:26:15 +0000</pubDate>
			<dc:creator>m4change</dc:creator>
			<guid isPermaLink="false">19227@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;nasty hack I have going on right now in my functions.php has it &#34;working&#34;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Set Subsite Gravity Forms XML File Path */
add_action( &#38;#39;init&#38;#39;, &#38;#39;set_xml_path&#38;#39;, 1 );
add_action( &#38;#39;init&#38;#39;,  array(&#38;#39;RGForms&#38;#39;, &#38;#39;init&#38;#39;), 2);
add_action( &#38;#39;init&#38;#39;,  array(&#38;#39;RGForms&#38;#39;, &#38;#39;setup&#38;#39;), 3);

function set_xml_path( ){

  global $blog_id; 

  $xml_path = ABSPATH.&#38;quot;wp-content/blogs.dir/&#38;quot;.$blog_id.&#38;quot;/gforms_files/gravityforms.xml&#38;quot;;
  define( &#38;quot;GF_IMPORT_FILE&#38;quot;, $xml_path );

  if(!class_exists(&#38;quot;GFExport&#38;quot;))
       require_once(WP_PLUGIN_DIR . &#38;quot;/gravityforms/export.php&#38;quot;);

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Cleaner solution?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>m4change on "Child site gorms in a multisite do not get created until you login to backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend#post-19221</link>
			<pubDate>Wed, 23 Feb 2011 11:08:12 +0000</pubDate>
			<dc:creator>m4change</dc:creator>
			<guid isPermaLink="false">19221@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;upon further investigation, the gravity forms tables are not even created until the backend is accessed.  I believe this has something to do with the setup() function needing to be triggered but I cannot make that happen.  I've tried adding the following lines into my functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;init&#38;#39;,  array(&#38;#39;RGForms&#38;#39;, &#38;#39;init&#38;#39;));
add_action(&#38;#39;init&#38;#39;,  array(&#38;#39;RGForms&#38;#39;, &#38;#39;maybe_process_form&#38;#39;));&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>m4change on "Child site gorms in a multisite do not get created until you login to backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/child-site-gorms-in-a-multisite-do-not-get-created-until-you-login-to-backend#post-19220</link>
			<pubDate>Wed, 23 Feb 2011 10:31:35 +0000</pubDate>
			<dc:creator>m4change</dc:creator>
			<guid isPermaLink="false">19220@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm importing an XML (WXR) file to create a new child site with some defaults after a form is completed.  This included some gravity forms but they don't become active (oops cannot find your form) until I go to the backend of the newly created child site.&#60;/p&#62;
&#60;p&#62;This appears to have something to do with a function that gets triggered by logging into the backend.  Can you please help me find a way to trigger this function without having to go to the backend?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
