Erreur MIME type ('image/png') is not executable


(NOUAS HAKIM) #1

Bonjour
Aprés l’installation de PIWIK , J’ai 2 erreurs

GET http://— /piwik/piwik.js net::ERR_ABORTED

Refused to execute script from ‘http://—/piwik/piwik.js’ because its MIME type (‘image/png’) is not executable.

Merci de m’aider


(Fabian Dellwing) #2

I’m pretty sure this is the fault of the webserver delivering the piwik.js file.

If you are using apache, consider setting AddType application/javascript .js, for other servers there are likewise methods.