Just installed datatables editor on wordpress, error No 'Access-Control-Allow-Origin

Just installed datatables editor on wordpress, error No 'Access-Control-Allow-Origin

cpshartcpshart Posts: 246Questions: 49Answers: 5

Hi

I have just installed the Datatables Editor on my website server and the test data tables work ok
https://www.ukincomeinvestor.co.uk/Editor-PHP-1.8.1/examples/simple/simple.html

but I have created an equivalent file for one of my MySQL tables with an associated controller file, but I am receiving the following error, any ideas much appreciated, the answer for 2016 indicated you were aware of this issue ?

****Access to XMLHttpRequest at 'https://ukincomeinvestor.co.uk/Editor-1.8.1/controllers/transactions.php?_=1550146954448' from origin 'https://www.ukincomeinvestor.co.uk' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.****

I can add files, information if required

Many Thanks

Colin

Answers

  • cpshartcpshart Posts: 246Questions: 49Answers: 5

    I may have fixed the issue, the PATH to my controller file was incorrect, still testing.

    Many Thanks Colin

This discussion has been closed.