File Origin Does Not Match Viewer's

Formidable Forms
9 April, 2020 22:40:30
rickbryan
Topics: 6
Messages: 10
I have a Formidable form with only two field: First Name and Last Name, and I generated the E2PDF form using the Auto PDF feature.

When I click the "submit" button, an error message appears, and the message is "File Origin Does Not Match Viewer's".

What does this mean and how can I fix this. Please.
9 April, 2020 23:16:13
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

If it's possible can you please share url where we can test form to faster understand the issue? You can mark message "private" so only support can see your message.

If not, try please generate download link with [e2pdf-download] shortcode. Will it work for you? Also will url match your site url while PDF download?

P.S. Let us know also please which browser are you using? Try to use another browser also to see if error will show up.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
10 April, 2020 07:09:44
rickbryan
Topics: 6
Messages: 10
The VIEW shortcode does not work in either Chrome, Firefox or Safari browsers (Mac versions).

The DOWNLOAD shortcode works fine in all browsers.

Screenshots attached showing the error message, and the setup in E2PDF and Formidable Forms.

https://probate.nyc/3rd-contact-form/

Thank you

10 April, 2020 09:57:20
E2Pdf
Support
Topics: 7
Messages: 3163
It looks like issue is connected due modifying url to use cdn (https://secureservercdn.net/198....) instead your original host and viewer by default not allow insert PDFs from other hosts.

Are you able to exclude url from modification to use cdn for urls like: wp-content/plugins/e2pdf/assets/pdf.js/web/viewer.html...?

We remain at your service.
We would really appreciate your feedback at WordPress.org!
10 April, 2020 10:03:14
E2Pdf
Support
Topics: 7
Messages: 3163
Or another solution that could work:

Try to modify shortcode to hardcode the viewer URL:

[e2pdf-view id="1" viewer="https://probate.nyc/wp-content/plugins/e2pdf/assets/pdf.js/web/viewer.html"]

We remain at your service.
We would really appreciate your feedback at WordPress.org!