<?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: Corrupt Form Metadata</title>
		<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata</link>
		<description>Gravity Support Forums Topic: Corrupt Form Metadata</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 11:06:12 +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/corrupt-form-metadata" rel="self" type="application/rss+xml" />

		<item>
			<title>Julio Lopez on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20622</link>
			<pubDate>Tue, 15 Mar 2011 13:30:09 +0000</pubDate>
			<dc:creator>Julio Lopez</dc:creator>
			<guid isPermaLink="false">20622@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;So I figured out that there were some special characters in my form meta that were preventing the meta recovery tool from doing it's job. I had to go in and change characters like é to &#38;eacute; and I was then able to fix the problem by running the meta recovery tool.&#60;/p&#62;
&#60;p&#62;Of course, this was after I'd written some scripts to pull entry data without using the form meta data. Oh well.&#60;/p&#62;
&#60;p&#62;Perhaps this code may lead to the development of a new tool plugin for instances where special characters are not the cause of irreparable bad form meta data.&#60;/p&#62;
&#60;p&#62;I created index.php (&#60;a href=&#34;http://www.pastie.org/1675182&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/1675182&#60;/a&#62;) to read the list of forms from the WP DB and to create a form with a select element that allows you to choose what form you want to collect data from.&#60;/p&#62;
&#60;p&#62;I then created recovery.php (&#60;a href=&#34;http://www.pastie.org/1675204&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/1675204&#60;/a&#62;) which is the value of the action attribute of the form on index.php which does the grunt work of getting the data and spitting it out as a csv file.&#60;/p&#62;
&#60;p&#62;My apologies for the messy, uncommented code. I was working quickly.&#60;/p&#62;
&#60;p&#62;Thanks again for all your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20354</link>
			<pubDate>Thu, 10 Mar 2011 15:31:18 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">20354@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would recommend using a solution like BackupBuddy or something similar to backup/restore/migrate.&#60;/p&#62;
&#60;p&#62;Entries are stored in the following tables:&#60;/p&#62;
&#60;p&#62;wp_rg_lead&#60;br /&#62;
wp_rg_lead_detail&#60;br /&#62;
wp_rg_lead_detail_long&#60;/p&#62;
&#60;p&#62;The wp_ portion is based on whatever your database table prefix setting in WordPress is set to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Julio Lopez on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20340</link>
			<pubDate>Thu, 10 Mar 2011 13:51:36 +0000</pubDate>
			<dc:creator>Julio Lopez</dc:creator>
			<guid isPermaLink="false">20340@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;PS. What tables hold the entries data?&#60;br /&#62;
PPS. In case I have to restore my database from a backup again, what is the best way to back up and restore in order to preserve data integrity?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Julio Lopez on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20330</link>
			<pubDate>Thu, 10 Mar 2011 12:55:53 +0000</pubDate>
			<dc:creator>Julio Lopez</dc:creator>
			<guid isPermaLink="false">20330@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ouch!! Really? Ok well I guess I'm going to have to start writing some kind of PHP scripts to read and parse through the data since the GF export util does not work for my corrupted forms. (sigh)&#60;/p&#62;
&#60;p&#62;If I come up with anything useful I'll be happy to share it on the forums as it may help others.&#60;/p&#62;
&#60;p&#62;Thanks for your help Carl!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20325</link>
			<pubDate>Thu, 10 Mar 2011 12:05:31 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">20325@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The entries are directly tied to the form settings so.  Try using the Import/Export tool to export the entries to CSV and see if that can work.&#60;/p&#62;
&#60;p&#62;You could pull out the entries from the database if you have to but you would have to write the queries to do so and parse the serialized data so it is human readable.&#60;/p&#62;
&#60;p&#62;Unfortunately it sounds like PHPMyAdmin did a number on your form data.  Typically the meta recovery tool will work, but we have no control over what PHPMyAdmin does to the serialized data during the export/import process it uses and it doesn't handle serialized data properly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Julio Lopez on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20318</link>
			<pubDate>Thu, 10 Mar 2011 10:42:46 +0000</pubDate>
			<dc:creator>Julio Lopez</dc:creator>
			<guid isPermaLink="false">20318@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;Thanks for the link. I have downloaded, installed and run the tool and was only able to recover one of my forms. Do you have any other suggestions? What is most important to me now is to recover the submitted data rather than the forms, they can always be rebuilt. Is there any way to pull out human readable records from the GF tables in the WP database without the form metadata?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20288</link>
			<pubDate>Wed, 09 Mar 2011 18:15:59 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">20288@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have added the Meta Recovery Add-On to the Downloads page.  You can download, install and activate this Add-On.  It will create a new navigation item under Forms called Meta Recovery, use that tool to select your forms individually and repair the meta data.&#60;/p&#62;
&#60;p&#62;Downloads page is here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/downloads/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/downloads/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This issue happens when PHPMyAdmin doesn't properly handle serialized data.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Julio Lopez on "Corrupt Form Metadata"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/corrupt-form-metadata#post-20287</link>
			<pubDate>Wed, 09 Mar 2011 18:08:03 +0000</pubDate>
			<dc:creator>Julio Lopez</dc:creator>
			<guid isPermaLink="false">20287@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'm the web developer at the Art Gallery of Ontario and we are a Gravity Forms customer. This week I discovered that some of our forms are not showing up on their respective pages and showing only the &#34;Oops! We could not locate your form&#34; error. In the wordpress admin they are listed, but upon editing them they look like a brand new form.&#60;/p&#62;
&#60;p&#62;After reading around on the forums I've come to the conclusion that the form metadata could be corrupted. I recently had to re-install wordpress 3.0.5 after a catastrophic upgrade to 3.1 resulted in many, many broken links. Anyway, I used phpMyAdmin to rebuild the database from a backup and guess that may have caused a problem.&#60;/p&#62;
&#60;p&#62;Is there anyway to recover my forms and their associated data that has been submitted? I thought I read somewhere that a tool is available, where can we get it?&#60;/p&#62;
&#60;p&#62;you can find an error page here: &#60;a href=&#34;http://artmatters.ca/wp/birthday-party-information-form/&#34; rel=&#34;nofollow&#34;&#62;http://artmatters.ca/wp/birthday-party-information-form/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The error is showing up before the footer.&#60;/p&#62;
&#60;p&#62;thanks in advance!!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
