Thread: Validation

Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Validation

    OK, I am php challenged....

    Using the validator at w3.org, i get a few errors. With the pages being assembled via php I cannot pin down what or where these are located.

    i.e.
    Code:
    Line 19, column 5: document type does not allow element "br" here; assuming missing "body" start-tag .
    
    <br />
    or:
    Code:
    Line 20, column 179: end tag for "body" omitted, but OMITTAG NO was specified .
    
    ...page.php</b> on line <b>179</b><br />
    
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
    If one might have a validation for "dummies" guide or link I would appreciate it and I will continue to Google on my own.
    Zen-Venom Get Bitten

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Validation

    Kobra-

    Which page are you getting those validation errors?

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Validation

    Kim,

    the main page...http://www.kobrawd.com/demo/

    Trying to get this to validate before I submit it.
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Validation

    Kobra,

    The first thing I see is that the date you have in the navMain div is not included in <li></li> tags.

    Fix that first, then revalidate and see what happens.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Validation

    Clyde,

    Thank you !! That reduced it from 3 down to one...great progress.

    Being that you pointed out what an error was I knew what file to edit.

    Still stymied as to how to view an error and determine what file generates it..

    I am down to this:
    1. Error Line 267 column 6: end tag for "div" omitted, but OMITTAG NO was specified.

    </body></html>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


    2. Info Line 21 column 0: start tag was here.

    <div id="mainWrapper">
    As this is dynamically genreated, where can I find out how to trace these ?? I do not want to ask each time...
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Validation

    Kobra,

    Its saying there is an open <div> somewhere (but you know that.)

    One way to track down the problem is to check the "show source" box on the validation screen.

    You can then scroll through line by line. You can narrrow what you're looking for because all the "bof"/"eof" comments will show up. Using those you should be able to track down the tpl_?????.php files.

    Another way would be to use admin and turn off the sideboxes and then turn them on one by one and re-validate until you find the problem.

    You would also do this with the center column settings, particularly "whats new" "specials" and "featured"

    Hope this helps.

    Good luck

 

 

Similar Threads

  1. Validation
    By Chris1 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Apr 2011, 04:13 PM
  2. W3 Validation
    By faithofgod in forum General Questions
    Replies: 1
    Last Post: 24 Mar 2008, 10:58 PM
  3. Validation
    By ideasgirl in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Aug 2006, 02:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg