• Hey guys, i need some help with some errors in I.E.
    My site loads perfectly fine, and i finally got the footer problem fixed. But in internet explorer i’ve been getting some script errors. Nothing too serious that it deforms the site .. but it says done but with errors on the page.
    Could someone take a look at my site in I.E. and take a look at the script errors and where they refer to .. i think there are 14. And then take a look at my index.php file. Maybe you can see something. I’m not that great with php and i couldn’t find anything ..
    Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Go to Tools > Internet Options.
    Click Advanced, and check the two boxes about Disable script debugging.
    I see the small error icon in the bottom left, but I see no messages.
    What javascript do you have running ?

    Are these javascript errors?

    Nope – I just checked in FF.
    Must be IE doing something strange and completely unnecessary

    Yes your site has some JavaScript errors. Load your site in Firefox and go Tools>JavaScript Console, and it provides a detailed log of the problems.

    pdz, if you click (doubleclick?) on the small icon, it will bring up the error messages. There are 15 in total, 1 syntax, the rest “object expected in line… column…” type. So it might be somthing related to the lot of js used. I don’t know.

    Last Visit plugin 🙂

    Thread Starter adiofm

    (@adiofm)

    Wow i tried looking at the site using firefox javascript console tool. Lots of errors, and lots of them have to do with the Wp-Last-Visit plug in .. i tried disabling it .. but my site go’s out of whack when i do that. seems that lots of things are undefined .. i wish i knew what that meant .. hehe… what is slvShownewindicator .. and SLVBanner? those seems to be causing most of the trouble. And how do you define them …
    Thanks guys.

    The readme should have a call to put in the <head> of index.php
    Mine is:
    <?php $wplastvisit_output = "javascript"; require('wp-content/plugins/wp-last-visit.php'); ?>
    Yours may differ slightly.

    Thread Starter adiofm

    (@adiofm)

    mine is
    <script type=”text/javascript” src=”<?php bloginfo(‘url’); ?>/wp-content/plugins/wp-last-visit.php?type=js”></script>
    <script language=”JavaScript” type=”text/JavaScript”>
    you can check my index.php but it doesnt seems to do anything.

    anyone see the problem?
    newb php user here.

    Thread Starter adiofm

    (@adiofm)

    the above post was by me btw

    try “javascript” instead of “JavaScript”

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Script Errors in I.E.’ is closed to new replies.