WordPress.org

Ready to get started?Download WordPress

Forums

Correcting Errors after Validating (10 posts)

  1. Flirtilizer
    Member
    Posted 5 years ago #

    I'm trying to find a tool that will help me with correcting errors after validating my word press websites.

    For example

    [code]Error Line 901, Column 8: end tag for element "script" which is not open.[/code]

    Is there a tool that will show me the line numbers. SO I can find it? I use firefox. I have firefox and webdev installed. Perhaps I already have a tool and don't know it.

    Thanks.

  2. iridiax
    Member
    Posted 5 years ago #

    http://validator.w3.org/

    Select the Show Source option and then click Revalidate. If you then click on the line numbers, it will take you to that line in your source code.

  3. Flirtilizer
    Member
    Posted 5 years ago #

    Right under my nose. Thanks!

  4. shoffman
    Member
    Posted 5 years ago #

    OK, I'm going through that process now. How do I go from seeing the error in the validator to correcting it? In the validator, it's one big page of code, but there's no equivalent in WP admin (at least not that this noob has found).

  5. t31os
    Member
    Posted 5 years ago #

    Your wordpress page is comprised from several files, for example, the header.php, the footer.php and so on...

    Perhaps a link to your page would be helpful.. :)

  6. shoffman
    Member
    Posted 5 years ago #

    Oops, might help. It's http://www.futureinsightblog.com

  7. t31os
    Member
    Posted 5 years ago #

    *Edit*

    *double post - removed*

  8. t31os
    Member
    Posted 5 years ago #

    Some of the errors are easy..

    < /span>
    This is repeated again and again, so it's likely something in the code generated around posts...

    Check the code for these incorrectly closed spans.

  9. shoffman
    Member
    Posted 5 years ago #

    I figured out that the Simple Tags plugin I was using was creating most of the validation problems, notably the issue with spans. I went through the validator and cleaned up the rest of the errors, so I passed the validator. However-

    1. The full site still won't display in IE, even though it passed.

    2. Where could I see the code about the tags so I can correct it to reactivate it?

  10. t31os
    Member
    Posted 5 years ago #

    1. IE treats elements differently, it could be any number of things causing a display issue... i'd disable plugins one by one and test as you go...
    2. The plugin code...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.