![]() |
![]() ![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zablokowani Postów: 15 Pomógł: 0 Dołączył: 11.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
Kod Error Line 49 column 144: 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. ...="6b5f416262e5211048ce7fb5b6ca389a" /> 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>"). i kod HTML:
niemoge sie za skarby doszukac bledu (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) (( EDIT http://mozillapl.org/forum/about-6648-0.html znalazlem na google (IMG:http://forum.php.pl/style_emoticons/default/exclamation.gif) rzuczcie na to okiem i myslcie jak to rozwiazac (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) Ten post edytował prosiak 22.02.2006, 19:49:23 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 690 Pomógł: 81 Dołączył: 6.04.2005 Skąd: Szczecin Ostrzeżenie: (0%) ![]() ![]() |
a konkretniej to która to linia na tym listingu co wkleiłeś ? bo dałeś kawałek kodu i i tak nikt nie wie o co chodzi (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
|
|
|
![]()
Post
#3
|
|
Grupa: Zablokowani Postów: 15 Pomógł: 0 Dołączył: 11.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
48 linia tj mniej wiecej gdzies tutaj
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 406 Pomógł: 9 Dołączył: 24.07.2005 Skąd: Bydgoszcz Ostrzeżenie: (0%) ![]() ![]() |
jesli pisanie tak <br> to xhtml to ja jestem ******* <br /> powinno być (IMG:http://forum.php.pl/style_emoticons/default/dry.gif)
Kolego to nie jest xhtml... |
|
|
![]()
Post
#5
|
|
Grupa: Zablokowani Postów: 15 Pomógł: 0 Dołączył: 11.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
to bylo niedopatrzenie (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) poprawilem jednak sytuacji to nie zmienia
|
|
|
![]()
Post
#6
|
|
Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
"Error Line 49 column 144: document type does not allow element "input" here;"
Validator pluje sie o element <input> a takiego nie widze w kodzie? Cosik nie ten fragment kodu podales. <Input> powinien bycv wewnatrz <fieldset>. |
|
|
![]()
Post
#7
|
|
Grupa: Zablokowani Postów: 15 Pomógł: 0 Dołączył: 11.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
faktycznie t oraczej nie ten kod ...
ale zauwazylem cos dziwnego: kod ze skryptu php
i kod z przegladarki Kod <div> <form method="post" action="/~sssac/index.php" > <div> <div id="warning" style="display: none;"><span class="zw2B">Masz włšczony klawisz Caps lock !</span></div> <span class="zw3">Login:</span> <input type="text" size="12" name="login" /> <span class="zw3">Hasło:</span> <input type="password" size="12" name="pass" onkeypress="capsDetect(arguments[0]);" /> <span class="zw3">Zapamiętaj mnie:</span><input name="auto" type="checkbox" value="on" /> <input type="hidden" name="mode" value="spr" /> <input class="kolorowy" type="submit" name="submit" value="Zaloguj" /> </div> </form> </div> gdy jednakze kod z przegladarki zapisze do pliku i go zwalidiuje to jest OK (IMG:http://forum.php.pl/style_emoticons/default/exclamation.gif) !! (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ? a jak wychodzi kod ze skryptu to errora wyswietla. Po usunieciu tego formularza jest ok, wiec na 1000% to jest ten kod[/quote] po usunieciu wszystkiego z pomiedzy <form> a <form> dalej wywala ten error (IMG:http://forum.php.pl/style_emoticons/default/exclamation.gif) wyglada na to jak by skrypt z tego formularza cos wysylal ... raz mi jakos w kodzie w przegladarce wyszlo cos takiego Kod <input type="hidden" name="PHPSESSID" value="06a7ac162b76523aef66b163bd513d1c" /> (IMG:http://forum.php.pl/style_emoticons/default/blink.gif) i to chyba to jest to cos ... |
|
|
![]()
Post
#8
|
|
Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
to jest przekazywanie identyfikatora sesji przez php (use_only_cookies masz wylaczone w php.ini), php sam dodaje to pole input w kazdym formularzu. Jak juz mowilem -- umiesc inputy w fieldsecie. |
|
|
![]()
Post
#9
|
|
Grupa: Zablokowani Postów: 15 Pomógł: 0 Dołączył: 11.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
ale na innym serverze dziala poprawnie, wiec jest to cos w konfiguracji servera ... uzywam najnoweszej wersji krasnalserv
pozatym jak umiescic tego inputa w fieldset jak on jest generowany dynamicznie ? |
|
|
![]()
Post
#10
|
|
Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
Zgadza sie -- jest to zwiazane z konfigiem php.
Cytat pozatym jak umiescic tego inputa w fieldset jak on jest generowany dynamicznie ? A niby czemu umieszcza sie sam w <form>ie, a nie gdzies indziej? Dodaj <fieldset> i sprawdz czy ten input doda sie wewnatrz fieldseta. |
|
|
![]()
Post
#11
|
|
Grupa: Zablokowani Postów: 15 Pomógł: 0 Dołączył: 11.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
to samo
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 13:30 |