Strona główna forum Wsparcie Szablony Magento... Walidacja strony pod validator.w3.org

Walidacja strony pod validator.w3.org

Forum poświęcone projektowaniu layout'ów dla Magento...

jemoon Avatar użytkownika
Administrator

Posty: 529
Lokalizacja: Gdańsk
Gadu-Gadu: 0

witam,
Jeśli podczas walidacji strony Walidatorem W3 otrzymujecie poniższy błąd (mały bug w php):
document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

należy otworzyć plik .htaccess znajdujący się w głównym katalogu sklepu i np pod:
############################################
## adjust memory limit

#  php_value memory_limit 64M
    php_value memory_limit 128M
    php_value max_execution_time 18000

dodać:
############################################
## sesje po fieldset
   
   php_value url_rewriter.tags a=href,area=href,frame=src,input=src,fieldset=

Walidacja strony pod validator.w3.org

PostTeraz jest 28 mar 2024, o 23:52
Google

Posty: 427
Lokalizacja: Internet


Posty: 74
Gadu-Gadu: 0

a ja mam taki komunikat:
Sorry! This document can not be checked.
:-D
Uśmiechnij się - jutro możesz nie mieć zębów ...

jemoon Avatar użytkownika
Administrator

Posty: 529
Lokalizacja: Gdańsk
Gadu-Gadu: 0

witam,
w polu adresu podaj pełny adres strony zaczynając od http://.... oraz upewnij się, że wszystkie znaki na stronie zakodowane są w jednym standardzie (w przypadku Magento w UTF-8).


Posty: 77
Gadu-Gadu: 0

Ja mam 8 błędów i nie wiem co z nimi zrobić - było 20 ale z tamtymi sobie poradziłem jakoś...







Line 86, Column 24: document type does not allow element "label" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
       <label for="search">Znajd&#378; przedmiot</label><input id="search" type="t



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
 Line 86, Column 123: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
…lass="input-text" name="q" value="" />



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
 Line 87, Column 147: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
…s/btn_mini_search.gif" alt="Szukaj" />



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
 Line 112, Column 161: end tag for "img" omitted, but OMITTAG NO was specified.
…if" alt="" width="1" height="1"></div>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
 Line 112, Column 22: start tag was here.
      <div class="spacer"><img src="http://www.mojadomena.pl/skin/frontend
 Line 112, Column > 80: XML Parsing Error: Opening and ending tag mismatch: img line 112 and div.
…mojadomena.pl/skin/frontend/template-help/theme001/images/pixel_tra…


 Line 870, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 38 and body.
</body>


 Line 871, Column 7: XML Parsing Error: Opening and ending tag mismatch: body line 37 and html.
</html>


 Line 871, Column 7: XML Parsing Error: Premature end of data in tag html line 2.
</html>


Powrót do Szablony Magento...



cron