![]() |
![]() |
-Libi- |
![]()
Post
#1
|
Goście ![]() |
Mam problem podczas testów strony pojawia mi się blad:
Conflict between Mime Type and Document Type The document is being served with the text/html Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml Using a wrong media type for a certain document type may confuse the validator and other user agents with respect to the nature of the document, and you may get some erroneous validation errors. How to fix this problem? One of the following techniques should help: If you are serving a static file on a Web server, changing its extension should help. Use e.g .xhtml for XHTML or .mathml for MathML. You may need to reconfigure your Web server. This Setting up MIME Types tutorial has instructions for Apache, Tomcat and IIS. If the document is generated dynamically, the scripting language should allow you to set up the mime type: this article on MIME Types and Content Negotiation has examples in PHP, Perl, and ASP. LInk: http://validator.w3.org/check?uri=http://8...ine&group=0 Link strony(tylko gdy moj komputer jest włączony): http://85.31.230.167/index2.php co powinienem zrobić by to poprawić jestem otwarty na pomysły... ![]() Pozdrawiam |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 175 Pomógł: 2 Dołączył: 22.03.2007 Skąd: localhost Ostrzeżenie: (0%) ![]() ![]() |
-------------------- "Homo sum, humani nihil a me alienum puto."
"Necessitas ultimum et maximum telum est." "Ventem seminabunt et turbinem metent." "Gallia est omnis divisa in partes tres..." |
|
|
-Libi- |
![]()
Post
#3
|
Goście ![]() |
Jesteśmy w Polsce więdz prosił bym o ile macie coś pomuc to piszcie po Polsku i na temat...
![]() |
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 1 590 Pomógł: 185 Dołączył: 19.04.2006 Skąd: Gdańsk Ostrzeżenie: (0%) ![]() ![]() |
Cytat pomuc - nie piszemy po polsku, bo mało kto zna ten język, a angielski zna prawie każdy. Wysyłasz dokument do przeglądarki jako text/html, co jest niezalecane dla standardu XHTML 1.1 strict. Zalecany typ dla tego standardu to application/xhtml+xml. Jeśli masz taki typ ustawiony w head a zwraca błąd, to musisz pokombinować z rozszerzeniem plików lub konfiguracją serwera.
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 24.07.2025 - 16:38 |