• While validating my pages in IE, I noticed that other sites have many more errors/warnings than my own (as shown in Firefox SGML Parser Validation) yet they do not display that annoying little IE ‘yellow triangle with an exclamation mark “Done, but with errors on page”‘.

    Is there some way to get rid of, or not display, that icon/warning on IE pages even though the page has some errors or warnings?

    I appreciate the help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • I would suggest Googling this problem, since it’s not really specific to WordPress but IE itself…

    Why not just fix the errors? Basically what you are saying is that you want to hide your errors from the reader.

    The warning is coming from the browser and I don’t think you can override that from the server side. The ones I have seen are all java script errors but maybe I have not seen them all.

    Thread Starter basbds

    (@basbds)

    Hi kmessinger,

    I’m trying to fix them, and I’ve run through all my WP theme templates, etc., but I can’t find some of the others.

    I’m slowly going through my content pages and fixing them up, but they don’t show the <head> coding in WP, and most of the errors I have seem to be in the head section of the WP display. This is driving me nuts since I started validating two days ago! It’s exasperating!

    I see the code and the error (through Firefox validation) but don’t know where to go to fix it. As WP calls a bunch of different codes to put together a page, some of them seem to be hidden from me.

    Example….
    <link rel=”stylesheet” …etc.><script language=JavaScript>

    should be <link rel=”stylesheet” …etc.><script type=”text/javascript”>

    I know that, and can fix it if I can find it, but I can’t!

    Can you suggest where such typical errors might be and how I can locate them either through WP or FTP?

    Much thanks for looking and your time!

    Look in your themes header.php file although WP does not in itself generate errors.

    What is your URL?

    Thread Starter basbds

    (@basbds)

    Yeah, I have already. I went through all my theme templates; even fixed my Sidebar html that I stuck in for special displays.

    There is no code in any of them that match those kinds of errors that I mentioned.

    Since the content pages coding doesn’t carry heading code, there must be another page that I’m missing, but for the life of me I can’t find it either in WP or on my server account.

    What is your URL? And have you turned off all plugins and tried the default theme?

    Thread Starter basbds

    (@basbds)

    url=howtoworkfromhome.info

    Thread Starter basbds

    (@basbds)

    Yep, tried that too.

    All plugins were deactivated, all additional html was removed. All done one at a time to see if that particular plugin or html snippet was the gremlin.

    Nothing worked so I reactivated and replaced all removed coding (again one at a time).

    ————————————————

    Here are the first few lines of the blog home page…

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head profile=”https://gmpg.org/xfn/11″&gt;

    <title>HTWFH Home Business News You Can Use!</title>

    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    <meta name=”generator” content=”WordPress 2.7.1″ /> <!– leave this for stats please –>
    <style type=”text/css” media=”screen”>
    @import url( https://blog.howtoworkfromhome.info/blog/wp-content/themes/3c-seo/style.css );
    </style>

    this page is where most of the errors are listed, but I can’t find anything that contains the <head> coding further down on the source page.

    Nothing from my Admin panel, nothing in my hosting folder.

    I’m not a very strong coder yet, and relatively hopeless in php, but this really has me stumped.

    I looked at this mess before but due to a senior moment forgot. Where do I start?
    1.Did you buy this from someone in an attempt to make money? If so, you got took.
    2.What kind of dirertory setup have you got – going thru a gateway (502 Bad Gateway on the first attempt.)? No one could set up WP this way accidentally. If you paid someone to do it, you got took.
    3.You have (still) many validation errors, shown here, https://validator.w3.org/check?verbose=1&uri=http%3a%2f%2fblog.howtoworkfromhome.info%2fblog%2f They are not mostly in the head section. They are in all the other ajax, thick box, etc., junk. If you paid someone to do this code, you got took.
    4.You have css errors here, https://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3a%2f%2fblog.howtoworkfromhome.info%2fblog%2f If you . . . yada, yada, yada.

    With code, php and html, you need to walk before you run. You have been here 2 years and I bet have never tried a simple blog to see how it all works.

    IMHO, something is not right here. Something is misrepresented. I can’t and won’t assist you further.

    Thread Starter basbds

    (@basbds)

    For anyone out there who’d like to get rid of that Error icon, I’ve found that if you add this:

    <?php error_reporting(0); ?>

    after the ‘while’ code and BEFORE the <?php endwhile; else: ?> in your WP templates, you’ll get rid of that IE warning.

    However, that doesn’t help me with my coding problem mentioned above, soooooooo if any of you know how I can solve that and validate my code I’d appreciate it!

    Thanks.

    Thread Starter basbds

    (@basbds)

    Well kmessinger, as to the two years, I’ve had some family things that took me away from all this and I’m trying to get back into it. It’s not a lot of fun when a family member dies. I’m not intentionally misrepresenting anything. Your sarcasm is unbecoming and unwarranted.

    I’m well aware of all the validation errors and have been trying through this thread – and other threads & forums – to find the code so that I can fix them. I know that they are on this page: https://blog.howtoworkfromhome.info/blog/ but where the heck does the page reside? Is it bits and pieces from WP or is it something I’ve overlooked on my host?

    Frankly, I thought that this was a relatively simple blog (compared to the ones I’ve seen), so I was trying to get it going. I’m really sorry you think I’m trying to trick you or something, I’m not. I posted here to try and get some real help, not get slammed because of something you think.

    I already stated that I’m a novice as a coder, so what makes you think that I’m not making mistakes in identifying where the errors are, or do you just randomly slam people for fun? Perhaps you don’t know how to help me and you just can’t admit it? You still haven’t told me where I might find the kind of code I’m having a problem with. I would think that all WPers would find that kind of code in the same place as it’s rather generic to page building. I just don’t know where because all this WP is new to me even though I created an account two years ago and am just now getting back to it.

    This blog was translated from a HTML/JS web site. Thought I’d try to update it. If it has problems (which I admit it does) than give me some help instead of junking out.

    If you don’t want to help, or can’t, just say so w/o implying that I’m deliberately misleading everyone.

    You IMHO hasn’t helped at all. Just made me feel that you think you’re some sort of Know-It-All elitist who gets some sort of jollies leading others on.

    If you’ve honestly tried to help me and this is just a big misunderstanding then all I can say is thanks, but I can’t say it’s been fun with your previous post.

    Is there anyone out there who might be able to help me?

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Get rid of icon?’ is closed to new replies.