by Gerard »
08 Mar 2019, 11:32
Hi again,
I've been using custom validation for about 8 month now, no problem after adding Header allways set Access-Control-Allow-Origin "*" on the .htaccess file.
Well, this week I enabled custom validation on another domain and I have problems makening it work, it goes to the same server as the one is working but it returns this message:
Access to XMLHttpRequest at 'http://IP_ADDRESS_CUSTOM_VALIDATION_SERVER/logindemo.php?lang=en&rechargeprocess=0&domain=Domain&externalauthtype=&username=&mobileprefix=&mobilephone=&password=&lastname=&firstname=sdfsdf&address=&zip=&city=&state=&country=ES&email=&phone=&fax=&yearofbirth=&taxcode=&gender=&companyname=&roomorsite=&acceptmkt=false&captcha=&contractconditions=false&acceptprivacypolicy=false&newsletter=false&rndm=27638' from origin 'http://HSNM_DOMAIN.COM' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
jquery-1.12.4.min.js:11 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://IP_ADDRESS_CUSTOM_VALIDATION_SERVER/logindemo.php?lang=en&rechargeprocess=0&domain=Domain&externalauthtype=&username=&mobileprefix=&mobilephone=&password=&lastname=&firstname=sdfsdf&address=&zip=&city=&state=&country=ES&email=&phone=&fax=&yearofbirth=&taxcode=&gender=&companyname=&roomorsite=&acceptmkt=false&captcha=&contractconditions=false&acceptprivacypolicy=false&newsletter=false&rndm=27638 with MIME type text/html. See
https://www.chromestatus.com/feature/5629709824032768 for more details.
To test it more i just configured the second domain as the one is working but i receive the same error messages.
Please, help