Contao-Camp 2024
Ergebnis 1 bis 4 von 4

Thema: MIME-Typ-Konfliktes blockiert laden von scripts und css

  1. #1
    Contao-Fan Avatar von Kopfnuss
    Registriert seit
    05.09.2012.
    Ort
    Zwickau
    Beiträge
    320
    Partner-ID
    11375
    Contao-Projekt unterstützen

    Support Contao

    Standard MIME-Typ-Konfliktes blockiert laden von scripts und css

    Hallo,

    ich habe eine neue Contao installation aufgesetzt, alle Grundlagen eingerichtet und wollte testen ob es funktioniert.
    Leider zeigt er mir nur das HTML ohne Scripts und CSS.

    System ist XAMPP Contao 4.4.41.
    Symlinks wurden auch schon neu erstellt.

    Fehlermeldung:
    Code:
    Die Ressource von "http://lrs.local/files/themes/standard/js/masonry.pkgd.min.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Die Ressource von "http://lrs.local/files/themes/standard/css/style.css" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Die Ressource von "http://lrs.local/files/themes/standard/js/j_lrs.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Die Ressource von "http://lrs.local/files/themes/standard/js/imagesloaded.pkgd.min.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Die Ressource von "http://lrs.local/files/themes/standard/js/jquery.easing.1.3.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Die Ressource von "http://lrs.local/files/themes/standard/js/modernizr-custom.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Die Ressource von "http://lrs.local/files/themes/standard/js/masonry.pkgd.min.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Laden fehlgeschlagen für das <script> mit der Quelle "http://lrs.local/files/themes/standard/js/masonry.pkgd.min.js". sprachinstitut-lrs-3.html:21:1
    Die Ressource von "http://lrs.local/files/themes/standard/js/imagesloaded.pkgd.min.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Laden fehlgeschlagen für das <script> mit der Quelle "http://lrs.local/files/themes/standard/js/imagesloaded.pkgd.min.js". sprachinstitut-lrs-3.html:22:1
    Die Ressource von "http://lrs.local/files/themes/standard/js/jquery.easing.1.3.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Laden fehlgeschlagen für das <script> mit der Quelle "http://lrs.local/files/themes/standard/js/jquery.easing.1.3.js". sprachinstitut-lrs-3.html:23:1
    Die Ressource von "http://lrs.local/files/themes/standard/js/modernizr-custom.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Laden fehlgeschlagen für das <script> mit der Quelle "http://lrs.local/files/themes/standard/js/modernizr-custom.js". sprachinstitut-lrs-3.html:24:1
    Die Ressource von "http://lrs.local/files/themes/standard/js/j_lrs.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
    sprachinstitut-lrs-3.html
    Laden fehlgeschlagen für das <script> mit der Quelle "http://lrs.local/files/themes/standard/js/j_lrs.js".
    Kann mir da jemand helfen?

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.060
    Partner-ID
    10107

    Standard

    Vermutlich hast du den Ordner themes oder themes/standard nicht öffentlich verfügbar gemacht.

  3. #3
    Contao-Fan Avatar von Kopfnuss
    Registriert seit
    05.09.2012.
    Ort
    Zwickau
    Beiträge
    320
    Partner-ID
    11375
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Danke, genau das war das Problem.
    Ich glaube das habe ich noch nie gemacht, das war immer automatisch auf "Öffentlich". Naja, Danke.

  4. #4
    Contao-Urgestein
    Registriert seit
    29.10.2009.
    Ort
    Magdeburg
    Beiträge
    2.020
    Partner-ID
    626
    User beschenken
    Wunschliste

    Standard

    Zitat Zitat von Kopfnuss Beitrag anzeigen
    Danke, genau das war das Problem.
    Ich glaube das habe ich noch nie gemacht, das war immer automatisch auf "Öffentlich". Naja, Danke.
    Ist seit Contao 4.0 erforderlich, dies explizit einzustellen.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •