DMXzone Ajax Form Support Product Page

Not a problem

problem 0: Same origin policy violated

Reported 11 years ago
1
has this problem
11 years ago 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 11 years ago
11 years ago 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 11 years ago
11 years ago thomas strmiska replied:
you´re right. now it works!
thanx
r-strmiska
Replied 11 years ago
11 years ago Miroslav Zografski replied:
You are welcome, Thomas.

Regards.

Reply to this topic