Announcement

Collapse
No announcement yet.

Search redirect problem

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

    Search redirect problem

    Hi everyone. Go to our site http://www.uniformcorner.com and type in the word "banana" in our search box and watch where the redirect goes.

    I have tried to fix this through the knowledge base by referencing info on editing the AccountsScript.pl and SearchScript.pl files, but my files do not have the code as listed in the instructions.

    What do do?

    #2
    When I tried this I got JavaScript errors on the returned page. It looks like some sort of popup blocker attempt going wrong. Here's a snippet.

    Code:
    imgWindow.document.write('<html><head><title>'+windowTitle+'</TITLE>
    <META HTTP-EQUIV="refresh" CONTENT="5; URL=http://www.uniformcorner.com/~uniformc/acatalog/">
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><a href="#" onClick="javascript:window.close();" alt="Close Window" title="Close Window"><img src="'+img+'" border="0"></a></body></html>');
    The attempt to get all that lot into a JavaScript variable fails because there's a new line after </TITLE> and this terminates the string.

    Look at your site with Mozilla (www.mozilla.org) and turn on Tools / Web Development / JavaScript Console. You get much better debugging info than IE's useless errors messages.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Norman,

      Will do. Tell me, what file should I be examining? I see the error and basic location of the problem, but ss000001.pl doesn't seem to hold what I'm looking for.

      Thanks so much!

      Christy

      Comment


        #4
        This looks more like something that's patched into your Act_Primary.html

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Hi Norman,

          Unfortunately it isn't in Act_Primary. I did a term search on every file under this site and came up with nothing either.

          What do you think?

          Thanks!

          Comment


            #6
            Try searching for "imgWindow.document.write" on Site1 (and include subfolders just in case).

            Norman
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment

            Working...
            X