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.

Forms could not be imported.

  1. I've just exported a form from one site and tried to upload it to where I'll be using it, but I get the following error message:

    Forms could not be imported. Please make sure your XML export file is in the correct format.

    It should be in the correct format, as it came from Gravity Forms.

    Posted 14 years ago on Friday October 22, 2010 | Permalink
  2. Are you running the latest version of Gravity Forms (1.4.3.1)?

    Please place the XML file on a server somewhere and provide a link to it in this post so we can download it and replicate the issue on our end.

    Posted 14 years ago on Friday October 22, 2010 | Permalink
  3. Same here. Running version 1.5.rc3.8. It only occurs on my LIVE site. Even if I export then import the same file from the same site, I still get the message.

    Here is a link to the exported file but I reckon it has something to do with the hosting setup...

    http://www.foster.vic.au/gravityforms-export-2011-01-25.xml

    Posted 13 years ago on Tuesday January 25, 2011 | Permalink
  4. Your XML is valid as I was able to import it locally. Please make sure your server supports the PHP XML parser (i.e. xml_parser_create(); )

    Posted 13 years ago on Thursday January 27, 2011 | Permalink
  5. I believe if you are missing that function xml_parser_create() it will trigger a fatal error:

    Fatal error: Call to undefined function: xml_parser_create()

    If you have access to PHP or Apache error logs, the error should be logged.

    You can test for the existence of that function on the server by creating this file on the server, then accessing it in a browser or from a command line:

    <?php
    // text for existence of a function
    if (function_exists('xml_parser_create')) {
    	echo "xml_parser_create function exists\n";
    }
    else {
    	echo "xml_parser_create function DOES NOT exist\n";
    }
    ?>
    Posted 13 years ago on Thursday January 27, 2011 | Permalink