How to import a backup of a template

14 August, 2018 17:26:43
geno
Topics: 6
Messages: 16
Hi -
I currently have everything setup and running correctly on my primary domain (domain.com) . I want to move the installation to a new subdomain (office.domain.com). I have everything installed on office.domain.com (Formidable, E2pdf, etc). I exported the form and entries from formidable into office.domain.com. And I backed up the template on domain.com; but I can't figure out how to import the tempate file (xml) into office.domain.com.

14 August, 2018 17:36:57
E2Pdf
Support
Topics: 7
Messages: 3330
Hi.

1) Just use "Import" function. It's located under "Search" field at "Templates" list page (attachment #1).

2) After importing template just go to edit and inside "Options" set correct Formidable Form to work with (attachment #2).

Keep in mind that it can be need to remap fields if you already migrated form via Formidable Forms and used Field ID's instead Field Keys. You can try to set convert Field ID's to use Field Keys among "Backup" action or try to use "Import Item" among "Import" action to save mapping.

We remain at your service.



We would really appreciate your feedback at WordPress.org!
14 August, 2018 17:45:29
geno
Topics: 6
Messages: 16
WOW, How did i miss that???

Now, I get the following error:

Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/XXXXXXXX/public_html/office.pm941.com/wp-includes/wp-db.php on line 1102

Warning: Invalid argument supplied for foreach() in /home/XXXXXXXX/public_html/office.pm941.com/wp-content/plugins/e2pdf/classes/model/e2pdf-template.php on line 184

Warning: Illegal string offset 'elements' in /home/XXXXXXXX/public_html/office.pm941.com/wp-content/plugins/e2pdf/classes/model/e2pdf-template.php on line 192

Fatal error: Only variables can be passed by reference in /home/XXXXXXXX/public_html/office.pm941.com/wp-content/plugins/e2pdf/classes/model/e2pdf-template.php on line 192

The template get imported (well at least you can see it) but you can't open it... you get a 'NullPointerException" when you try to View it.
14 August, 2018 17:58:55
E2Pdf
Support
Topics: 7
Messages: 3330
Can you please try to backup your template again and re-import it to new website.

If error will still occur, please fill up this form and attach your backup file (.xml).

We remain at your service.
We would really appreciate your feedback at WordPress.org!
14 August, 2018 19:06:43
geno
Topics: 6
Messages: 16
Ok, that worked, now I am having problems with the template on the new domain. IT has all the old field numbers, not the new field numbers from the import of the formidable form/entries... So I thought I could go in and edit the template by mapping the fields, but I get the error message of "You must set Item to use Visual Mapper"
14 August, 2018 19:20:56
E2Pdf
Support
Topics: 7
Messages: 3330
Check out please 2nd message in this topic.

After importing template just go to edit and inside "Options" set correct Formidable Form to work with.

Keep in mind that it can be need to remap fields if you already migrated form via Formidable Forms and used Field ID's instead Field Keys. You can try to set convert Field ID's to use Field Keys among "Backup" action or try to use "Import Item" among "Import" action to save mapping.

We remain at your service.




We would really appreciate your feedback at WordPress.org!