Mautic Community Forums

Form submission hanging on the please wait

Last Mautic and Wordprss plugin version

-Form submission is working from the preview page
-Please wait hanging when a for is submitted from the wordpress site

Please fin below the chrome console error

(index):1 Refused to display ‘https://businessatwork.bitnamiapp.com/form/submit?formId=23’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

I find this patch who could help: https://www.mautic.org/topic/please-wait-solution/
but the code is different !

Any idea ?

Thank’s

problem solved, i made the following changes

<IfModule headers_module>
<IfVersion >= 2.4.7 >
#Header always setifempty X-Frame-Options SAMEORIGIN
Header always setifempty X-Frame-Options “ALLOW-FROM https://businessatwork.bitnamiapp.com/
</IfVersion>
<IfVersion < 2.4.7 >
#Header always merge X-Frame-Options SAMEORIGIN
Header always merge X-Frame-Options “ALLOW-FROM https://businessatwork.bitnamiapp.com/

&lt;/IfVersion&gt;
RequestHeader unset Proxy

</IfModule>