Thread: Validation

Results 1 to 9 of 9

Hybrid View

  1. #1
    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.

  2. #2
    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

  3. #3
    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

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

    Default Re: Validation

    This is a follow up post:

    I can not explain why this was as it turns out but tha 1 remaining validation error was corrected by editing the tpl_main_page.php file.

    This entry <div id="mainWrapper"> was the cause of the error according to the w3 validator. I added a closing tag to this line and the page validated.
    i.e. . . <div id="mainWrapper"></div>

    Thanks go out to Clyde for his assistance
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Validation

    Sometimes for debugging problems like this, Dave Raggett's tidy utility can help:

    http://cgi.w3.org/cgi-bin/tidy

    (use diff or diff -w against your original html to see how he fixes it.)

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

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

    Default Re: Validation

    swguy,

    Thank You!! I actually used the TIDY plugin for FireFox and found it to be GREAT!

    FireFox Tidy Extention
    Zen-Venom Get Bitten

 

 

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