WordPress.org

Forums

Script Errors in I.E. (13 posts)

  1. adiofm
    Member
    Posted 10 years ago #

    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.

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    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 ?

  3. NuclearMoose
    Member
    Posted 10 years ago #

    Are these javascript errors?

  4. Mark (podz)
    Support Maven
    Posted 10 years ago #

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

  5. Turnip
    Member
    Posted 10 years ago #

    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.

  6. moshu
    Member
    Posted 10 years ago #

    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.

  7. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Last Visit plugin :)

  8. adiofm
    Member
    Posted 10 years ago #

    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.

  9. Mark (podz)
    Support Maven
    Posted 10 years ago #

    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.

  10. adiofm
    Member
    Posted 10 years ago #

    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.

  11. Anonymous
    Unregistered
    Posted 10 years ago #

    anyone see the problem?
    newb php user here.

  12. adiofm
    Member
    Posted 10 years ago #

    the above post was by me btw

  13. NuclearMoose
    Member
    Posted 10 years ago #

    try "javascript" instead of "JavaScript"

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.