DMXzone Ajax Form Support Product Page

Not a problem

problem 0: Same origin policy violated

Reported 16 Mar 2014 17:10:02
1
has this problem
16 Mar 2014 17:10:02 thomas strmiska posted:
hello!
i always get an error with ajax form - 0: Same origin policy violated
i don´t know how to solve this problem.
the form is sent right way, but doesn´t swith to "success"
please check:
www.bettinakrenosz.com/test/kontaktform.php

thanx
regards
strmiska

Replies

Replied 18 Mar 2014 09:51:09
18 Mar 2014 09:51:09 Miroslav Zografski replied:
Hello Thomas,

Your form requests a page that is not of the same domain thus the same origin policy violation is triggered :
XMLHttpRequest cannot load www.misfit.tv/cgi-bin/krenosz.cgi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'www.bettinakrenosz.com' is therefore not allowed access.

you need to find a way to allow this behaviour.
www.google.bg/search?q=same+origin+policy+allow&oq=same+origin+policy+allo&aqs=chrome.1.69i57j0l3.7185j0j7&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8#q=same+origin+policy+bypass+post

Regards.
Replied 19 Mar 2014 07:32:38
19 Mar 2014 07:32:38 thomas strmiska replied:
you´re right. now it works!
thanx
r-strmiska
Replied 19 Mar 2014 07:49:16
19 Mar 2014 07:49:16 Miroslav Zografski replied:
You are welcome, Thomas.

Regards.

Reply to this topic