PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Strange error with javascript highlighting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strange error with javascript highlighting

    When I activate the highlighting using the highlight.js library, it keeps saying this:

    Internet Explorer cannot open the site "http://www.palliscience.com/mise_commun/index.php?f=10&zoom_highlight=dallaire". Operation abandoned.

    This appears in the highlight function at the line:

    if (strHTML!=false) x.innerHTML = strHTML;

    Does this ring anything to you? It looks like the innerHTML being set could have some kind of redirect, or it could mean the page itself doesn't allow complete rewriting since x is the document.

    I'm using IE7 latest patch on a WinXP Machine. My Mozilla Firefox 2.x doesn't do this but doesn't highlight anything.

    PS: To be able to search correctly and view the result of the link at the top you need to register, to save you trouble i have created a wrensoft account with the username and passwords:

    username: wrensoft
    password: wrensoft

    http://www.palliscience.com/mise_commun/index.php?f=10&zoom_highlight=dallaire

    Thanks

  • #2
    I went to the page you referenced above. But I didn't need to log in.

    But the page redirected to another page,
    http://www.palliscience.com/portail/nojs.php

    And I then got this message,
    Votre système semble avoir désactivé Javascript
    (I can read French, and this is not true. Javascript was active in my browser)

    The 2nd attempt at viewing the page redirected to this page
    http://www.palliscience.com/portail/testjs.php?forward=%2Fmise_commun%2Findex.php%3Ff% 3D10%26zoom_highlight%3Ddallaire

    which redirected to a 4th page
    http://www.palliscience.com/portail/legal.php?forward=%2Fmise_commun%2Findex.php%3Ff%3 D10%26zoom_highlight%3Ddallaire%26SaveJsCookie%3D1 %26SaveFlashCookie%3D6
    with a usage agreement,

    Which redirected to a 5th page
    http://www.palliscience.com/mise_commun/index.php?f=10
    (and by then you have lost the highlight parameter in the URL)

    But I didn't see any highlighting on the page, nor did I get the Operation abandoned message you mentioned.

    See these two FAQ's for trouble shooting the highlighting feature.
    http://www.wrensoft.com/zoom/support/highlighting.html
    http://www.wrensoft.com/zoom/support/faq_highlight.html

    Without wanting to cause offense, your site is maybe too complex. The combination of Flash, multiple Javascript scripts, authentication, and multiple levels of re-directs mean it might take hours for us to understand how the site works (or doesn't work in this case).

    Comment


    • #3
      Strange that the javascript did not detect, i'm sure it's open on your machine, the only thing i'm doing is a window.location = '' next page. Else it meta-refreshes to the nojs.php.

      For the rest, as soon as you have accepted the legal agreement once, and passed through the detection it will not bother you again. If you are logged on and do the search i mentionned, you should be getting the problem, it has nothing to do with our systems, i just have to comment out the .innerHTML = somethingnew in the highlighting and it stops doing the issue...

      Apart from your javascript, there are no active content on the page i sent you to, so it couldn't be a macromedia popup function that fails Anyway, up to you, if you don't want to help us, i'll try the faqs, if nothing avails, just too bad, we'll either change solution or turn off highlighting, but thats not my decision.

      Comment


      • #4
        Ok it seems this problem was already found, i found it at the bottom of the troubleshooting faq for the highlighting system. I'll see if there are misplaced tags or unended tags and reportback if nothing is found.

        Comment


        • #5
          Allright, it seems that was it, a misplaced DIV in an ending include file made this mess, it is now fixed and i didn't have to change all the site...

          Later all

          Comment

          Working...
          X