PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Some of our forms have mysteriously dissapeared.

  1. wedideas
    Member

    Hello,

    We recently re-imported our wp database and for some reason all of our competition forms have stopped working and are not showing up on our posts.

    We have a lot of other forms setup and these are working fine.

    When i try to edit the form all that shows it what you get when you start a new one, but i know the form details are there in the db. What is going on?

    Thanks,

    James

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  2. Why did you reimport the WordPress database?

    If anything changed in the database (the table prefix, host or domain name, for example) then the serialized values may have gotten messed up. Can you explain more about what you did right before losing some of your forms?

    Your forms are still there, but they are corrupt. If you have the original database dump before modifying it (if you did) we should be able to fix things.

    Please be sure you have a database backup now before going any further and possibly losing more.

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  3. wedideas
    Member

    Thanks for the swift reply Chris,

    We did this because our server had to be rebuilt which was obviously not a great situation.

    The reimport of the WP db was straight from a database dump anyway, i'm not sure why this would cause a problem.

    I do have the original dump.

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  4. wedideas
    Member

    When i try to look at the entries for the problem forms i get the following error at the top of the pageā€¦

    Warning: Invalid argument supplied for foreach() in /home/wedideas/public_html/wp-content/plugins/gravityforms/forms_model.php on line 2608

    Yet when i look at the forms that are ok we don't get any errors.

    What the?

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  5. That PHP warning is because the form is damaged. Can you download and try the Meta Recovery Tool from the bottom of this page? Install and activate it, then navigate to your forms menu and there will be a Meta Recovery option.

    http://www.gravityhelp.com/downloads/

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  6. I'm unsure of WHY some work and some do not.

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  7. wedideas
    Member

    Hi Chris,

    I've tried that already and it hasn't worked :-(

    James

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  8. OK. Well. Something changed between the old server and new server. I'm uncertain what that might have been. What sort of information changed from old server to new? IP address, host name, domain name, PHP or MySQL versions? Anything in the Apache config?

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  9. Why did you mention "competition" forms? Is there something different about that type of form?

    Posted 12 years ago on Friday July 13, 2012 | Permalink
  10. wedideas
    Member

    As far as I can tell Chris, nothing is different on the new server as the rebuild used the same setup as before.

    The competition forms aren't any different than the contact forms we have set up apart from them using different fields.

    James

    Posted 12 years ago on Saturday July 14, 2012 | Permalink
  11. wedideas
    Member

    Is there a way to restore the forms through editing an sql dump?

    I have tried re-importing the gravity form tables but still have the same problem.

    Need to get this sorted asap.

    Regards, James

    Posted 12 years ago on Saturday July 14, 2012 | Permalink
  12. wedideas
    Member

    Anyone?

    Posted 12 years ago on Saturday July 14, 2012 | Permalink
  13. James, your last three replies came through on the weekend during non-support hours.

    Nothing is different between the two servers, but restoring the database from a dump caused some of your files to be non-functional. Is that correct?

    Would it be time-consuming to recreate the forms in question? That is a last resort but would get you up and running.

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  14. wedideas
    Member

    Yes that's correct Chris. Apologies for keeping on, I didn't know bout the hours. I presume you're US based too?

    I've recreated the forms as we needed to get it sorted ASAP.

    For future reference, what can we do to avoid this happening?

    Thanks, James

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  15. David Peralty

    Once you are done making a form, export it. You will get an XML file that you can use to import into any Gravity Forms install that will give you that form back. Then you don't have to worry about SQL problems.

    For future reference for anyone reading this, we are in the US as well, and our support hours are on the sidebar of every forum page, with the yellow background.

    Posted 12 years ago on Monday July 16, 2012 | Permalink

This topic has been resolved and has been closed to new replies.