Hi guys,
Have a weird problem on a MODx site that I have not encountered before.
I’m using an Ajax call to query stock levels in a cart I built, however I am getting the error below intermittently:
- Access to restricted URI denied code 1012
Having googled the below it seems this error is only thrown when you try to make a cross domain Ajax call in JQuery, and i’m not doing this!!
Page here:
http://www.happythreads.co.uk/catalogue/tops/koi_ashley_top.html
This page has stopped working on 2 occasions. The first time I added the absolute url. This got it going again and I assumed as I had addded a url off the root, the JS was just making a mistake because it could not read the full url. This fix stopped working just recently?!?
I have sinced added the jsonp:’jsonp_callback’ to my Ajax request, and the absolute url.
It working again but because this just "stopped" before when it was fine i’m wondering if anyone has seen this before, or knows what going on?
Thanks in Advance,
J
MODx: 0.9.6.3
IIS Hosting, with ISAPI url rewrite