Bonjour,
J'ai un soucis sur mon site Web (http://www.alexandre-rio.fr/joomla/) que je suis en train de construire avec Joomla. J'ai créé mon propre template avec tous mes js que j'ai besoin dedans (j'utilise Bootmetro un dérivé de BootStrap notamment).
Mais j'ai un soucis lors du chargement de la page pour chacun de mes js :
Code :
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/jquery-1.8.2.min.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/jquery-1.8.2.min.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/jquery.form.js". www.alexandre-rio.fr:18
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/jquery.blockUI.js". www.alexandre-rio.fr:18
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/jquery.mousewheel.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/jquery.blockUI.js:1
- Uncaught SyntaxError: Unexpected token < jquery.form.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/jquery.scrollTo.js". www.alexandre-rio.fr:18
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/jquery.validate.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/jquery.mousewheel.js:1
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/jquery.scrollTo.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/jquery.validate.unobtrusive.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/jquery.validate.js:1
- Uncaught SyntaxError: Unexpected token < jquery.validate.unobtrusive.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/modernizr-2.6.1.min.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/modernizr-2.6.1.min.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/mustache.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/mustache.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/bootstrap.min.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/bootstrap.min.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/bootmetro.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/bootmetro.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/bootmetro-charms.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/bootmetro-charms.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/bootstrap-datepicker.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/bootstrap-datepicker.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/google-code-prettify/prettify.js". www.alexandre-rio.fr:18
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/holder.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/holder.js:1
- Uncaught SyntaxError: Unexpected token < prettify.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/RGraph.common.core.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/RGraph.common.core.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/RGraph.common.dynamic.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/RGraph.common.dynamic.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/RGraph.radar.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/RGraph.radar.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/RGraph.common.effects.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/RGraph.common.effects.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/RGraph.bar.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token < /joomlatemplates/template_portfolio/js/RGraph.bar.js:1
- Resource interpreted as Script but transferred with MIME type text/html: "http://www.alexandre-rio.fr/joomlatemplates/template_portfolio/js/RGraph.hbar.js". www.alexandre-rio.fr:18
- Uncaught SyntaxError: Unexpected token <
|
Le mauvais MIME entraîne une balise HTML dans le javascript et du coup ça le fait planter... Mais je vois pas comment le résoudre j'ai déjà rajouter :
Code :
- <?php Header("Content-Type: application/x-javascript; charset=UTF-8" ); ?>
|
mais ça n'a rien changé.
Je n'ai rien trouvé sur internet. J'utilise Chrome comme navigateur mais j'ai le même soucis avec IE 9.
Merci de vos lumières,
magic9110
Message édité par magic9110 le 17-03-2013 à 21:52:49
---------------
Ma collection de jeux vidéo : https://www.gamelib.fr/?page=bibliotheque&user_id=2