• I was doing some work on a wordpress site for a friend yesterday but don’t know where I went wrong. I’m semi-competent with CMS’s. I’m not very technical, but I have built sites in Drupal, Joomla, and, of course, WordPress.

    If someone could take a look at my site and point me in the right direction, I’d really appreciate it!

    The site works fine in Firefox, but I get an <!–[endif]–> error in Internet Explorer and the page doesn’t build. I’m just using the WordPress Default theme.

    I have been troubleshooting this for a few hours now. I re-installed (overwrote) all of the main php files that I could have conceivably edited e.g. sidebar.php, index.php, footer.php, page.php, widgets.php, etc. I was having some problems yesterday with the sidebar and went in yesterday and edited the sidebar.php and widgets.php files. I have a feeling that’s where I went wrong. But again, I re-installed both of those files and its still not working. I was also adding and removing a lot of the widgets, but doing that all through the management interface.

    The web site is: https://www.swedenson.com

    any help is much appreciated
    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Looking at this, you are using Office to compose – this will not work as it adds extra garbage in the code. Either use a basic notepad type editor or at least filter through the editor.

    Just edit your posts and fix the garbage.

    Thread Starter worldblogger

    (@worldblogger)

    thanks!

    Hello,

    I am having this same error and I used the Markup Validation program to see the errors I had but I am not sure how to resolve them. I have run the test here.

    Please help me with this, all I want is my sidebar to be displayed again on my homepage.

    I guess the real question is how do you determine what is Garbage from microsoft word?

    I’m no html expert, but my WordPress blog also had the problem of displaying <!–[endif]–> in the body of posts and losing the sidebar in Internet Explorer. (Firefox and Safari are fine.) I solved it by editing each problematic post in WordPress using html. Wherever I found code beginning with:
    <!–[if gte mso 9]><xml> <w:WordDocument>
    and ending with
    <!–[endif]–>
    I deleted it. This makes the post look normal in IE. Once you have fixed every post on the page, the sidebar returns.

    How ironic that two of Microsoft’s competitors, Mozilla and Apple, have no trouble dealing with the code from Word, but Microsoft’s own browser can’t handle it.

    That’s because it’s MS proprietary code. Non-MS applications ignore it completely.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘<!–[endif]–> error in IE, but works fine in Firefox – Please Help!’ is closed to new replies.