Template Import Not Working Correctly
-
Hello E2PDF!
So, I have used your plugin to export an awesome 6-page pdf with about 175 different fields mapped to it. However, I am running into quite the problem:
I created this template on a dev site and am now importing it into a production site. I followed the steps of exporting a backup of a template, however, when I try to import it and select the .xml template file and select “import” the page refreshes and I get an error that says, “Please choose template to upload” I have tried it multiple times and it always does the same thing.
*EDIT*
After opening the dev console I realized the requests to import are being rejected it is trying to import the included fonts over http rather than https. This happens even if I choose not to import the included images and fonts. I am not sure I understand because the dev and production site both have SSL, so this must be specific to e2pdf’s import function?*FIX*
I chose to export the dev template again without fonts or images and it imported successfully into the production site. Is this perhaps a bug that forces the import to try only http? Maybe there should be a checkbox allows https?*POST FIX EDIT*
Part of me is wondering if this is a security plugin I have installed not reading conditional statements correctly, partly because I am seeing a mixed content error for the favicon on every page while logged in as an admin. But I definitely wasn’t able to upload the template due to the fonts uploading as http.
- The topic ‘Template Import Not Working Correctly’ is closed to new replies.