• Resolved sarsells

    (@sarsells)


    Hi
    I was having a look at my site today, on internet explorer. And to my horror it was not displaying properly. I looked at the forums and found advice to check the code validation. Again, shock, horror, there were 117 errors.
    I am now down to 57 and my site is displaying in IE, so I am not going to worry about it too much right now.
    However, some of the errors seem to be from code that is generated by WP.
    For example

    Line 281, Column > 80: XML Parsing Error: EntityRef: expecting ‘;’
    ….co.uk/troyblog/?p=194″ title=”Troy Davis speaks from death row”><img src=”ht…

    If I am correct Troy Davis speaks from death row should be contained in ‘ ‘ and not ” “
    This however is the title of the post, and therefore the code was not generated by me, so I do not know how to fix it!

    Can anyone advise please.
    My site is at http://ss-designs.co.uk/troyblog

Viewing 5 replies - 1 through 5 (of 5 total)
  • deactivate your plugins before running validation, then try again.

    WP does not throw validation errors…..so if you are getting some, its plugins, or theme.

    To narrow it down deactivate your plugins…then check. Fix your theme, then reactivate your plugins

    Basically, nothing you can really do about plugin errors I guess, other than not use em. I just live with the errors once I’m sure my coding is correct

    Your xhtml is’nt valid transitional.

    The link gives hints on how to fix your code.

    Peter

    Thread Starter sarsells

    (@sarsells)

    Thanks for the help.

    I am not too sure what this means?

    Your xhtml is’nt valid transitional

    The link is the site which threw up the errors. And the fixes seemed to suggest that the errors are in parts of my site to which I am not able to access?

    However, i will try deactivating the pugins and see what happens. I am not too worried about the errors, but I like to try and learn as much as I can!

    Oke I admit that was kinda cryptic 🙂

    your site (in the header of your php files) declares itself as ‘xhtml transitional’, but for it to be, the coding has to follow certain rules, has to be ‘valid’.

    The errors emerge from either your template files (the php’s in your theme directory) or, as RVoodoo suggests, from your plugins.

    Peter

    Thread Starter sarsells

    (@sarsells)

    OK thanks. I will try and see if I can get to the bottom of it with the plugins etc.

    Sarah

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘coding errors’ is closed to new replies.