• Everything seemed to be ok before I upgraded but now on my main page (haven’t checked every page) I have the little notification icon that tells me I have a script error.

    It says Script Error on Line 1, Character: 25 Code: 0, Error: Syntax Error, url: https://www.idiotonastick.com/talk.

    When I view the source, this is what it shows me on line 1:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Can anyone tell me what this script error is? The last post I found here about script errors was from 2004, so when I looked up what they were talking about the php files were totally different.

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Ive looked at your site in ie 6 and 7 and dont get any javascript error, if i fact, thats what icon youre referring to — its the one that will show up in the lower left hand corner of the browser.

    You do have A LOT of other issues though

    https://validator.w3.org/check?uri=https://www.idiotonastick.com/talk/

    Thread Starter jafer

    (@jafer)

    Unfortunately, most of those errors are happening with the structured blogging plugin – before I added that my site always validated perfectly. I may just take it off, but I like the formats of the structured blogging for movies reviews and such. The other errors are with the radio blog, however, none of those have to do with the script error for line 1.

    I don’t see a script error there, do you?

    javascript errors arent going to show up in the validator. Thats why I asked (in a roundabout way) if you were seeing it via ie’s little error icon that shows up in the lower corner of the browser.

    I dont see ANY js errors on the page you linked, which btw, isnt correct with the . behind it, in ie6 or 7.

    Thread Starter jafer

    (@jafer)

    Yes, it was the little icon on the bottom left. I reloaded the page and it wasn’t showing but then I did something else (clicked on something and there it was again).

    I don’t know what you mean by the . behind it – are you talking about the code?

    Thread Starter jafer

    (@jafer)

    Oh, and I deactivated the structured bloggin plugin and now there are only 36 errors in the validator instead of 99. Now I just have to see if there’s anything else I can change in there that won’t affect the radio blog and it’s strange coding.

    im talking about your link in the first post above ?? click it ??

    its not a big deal ??

    Thread Starter jafer

    (@jafer)

    Oh, I didn’t put the link on, I typed the URL on there and ended up putting a period at the end of the sentence. It obviously created the link itself from the post. No it shouldn’t be a part of the link.

    And the script error I’m talking about showed up in the view source – which of course is not in any of the php files but the source code it shows me when I click on the error message icon.

    Thread Starter jafer

    (@jafer)

    So now that we’ve got all the validation issues discussed, which I have now changed and the only validation problems are with the YouTube code and the Radio Blog code, any ideas on what the error icon is for and how to fix it?

    I’d really like to have that off there.

    Like I said, I dont see an error in ie6 or 7, so I cannot help you. I dont see 1.

    Thread Starter jafer

    (@jafer)

    Well perhaps there’s someone else who knows what is causing this? I don’t see an error there either, but something’s going on to cause this and somebody must have a better clue than I do, since I have none. While I know html, I don’t have any idea about php and what could be causing this to give a script error on the very first line in the source unless it’s to do with something in the code and not the source page.

    Oh, something else interesting… when I clicked on the previous entries, it doesn’t give me the script error icon – it only seems to be on the main page.

    Thread Starter jafer

    (@jafer)

    Something else I’m seeing in the validator is this:

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the “Strict” document type with a document that uses frames (e.g. you must use the “Transitional” document type to get the “target” attribute), or by using vendor proprietary extensions such as “marginheight” (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

    As far as I know, I’m not using Strict but transitional – that’s also what the code in Line 1 says too, transitional.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Script Error WP 2.0.5’ is closed to new replies.