• Resolved jricesystemsinsight

    (@jricesystemsinsight)


    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.

Viewing 1 replies (of 1 total)
  • Plugin Author E2Pdf

    (@oleksandrz)

    Hi,

    Unfortunately we could not replicate an issue, but it seems the issue not due https redirect but it can be issue with the size of .xml or your server timeout. Can you please turn on debug mode via “E2Pdf” -> “Settings” -> “Turn on Debug mode” and go to: “E2Pdf” -> “Debug” -> “PHP Info” and check which setting do you have with: upload_max_filesize setting to be sure that if it’s not less than .xml file when exported with “Fonts” and “Images”.

    Regarding issue with “https” – plugin is using url that is set in your browser “address” bar, so if it’s https, it must use https. Also do you have “https” inside “Settings” -> “General” urls with https? As about “favicon”, E2Pdf doesn’t change any its behavior, but “Chrome” usually requests https://example.com/favicon.ico automatically by default.

    If it will be more comfortable for you we can move our discussion to our support “Help Desk” so we can investigate an issue in details.

    We remain at your service.

    • This reply was modified 5 years, 9 months ago by E2Pdf.
Viewing 1 replies (of 1 total)
  • The topic ‘Template Import Not Working Correctly’ is closed to new replies.