Linea: 1
Carattere: 1
Codice: 0
Messaggio di Errore: Errore di sintassi
Tutto normale sugli altri browser (ovviamente :) ) .
Seguendo il codice d'errore da console di debug di IE11, il sito microsoft ( https://msdn.microsoft.com/en-us/library/ie/dn887953(v=vs.94).aspx ) dice:
Access is denied A script tried to access data from a source other than the host of the current page. The Same Origin Policy followed by Internet Explorer and other browsers allows scripts to access data only from sources with the same scheme, host, and port of the URL of the current page. For example, if the current page is https://employees.mycompany.com, you can't access data from the following URLs: •http://data.contoso.com, because it is using HTTP instead of HTTPS. •https://somedatasource.com, because it is a different domain. •https://employees.mycompany.com:8888, because it uses a different port. To correct this error •Investigate whether the API you're trying to call supports JSONP or CORS, which are two approaches that safely allow cross-origin scripting. •If you're trying to call a REST API, refactor this call to your server-side code, then expose a new REST endpoint for your client-side scripts. For additional information, look for online documentation related to the Same Origin Policy, JSONP, and CORS.
LA soluzione è stata inserire un header lato server con il codice P3P:
'P3P', 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'
Su Zend Framework 1 la stringa è:
$this->getResponse()->setHeader('P3P', 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');