Announcement

Collapse
No announcement yet.

Search and Pop up

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

    Search and Pop up

    Hi,
    I have a problem with the result page on my website. If somebody look for a product reference (for example A111) and click on "Rechercher" button, he gets a link to a page with result which is this one :
    http://www.extense.com/cgi-bin/x2cgi...ol.html#marker
    And from this page if I try to get the enlarge image by clicking on the product we get a 404 error.
    I don't see where is the problem ?
    Thank in advance
    Didier
    www.supreme.fr
    _____________________
    Saint Malo. France

    #2
    I see 2 weird things. On the page source the <BASE HREF="http://www.supreme.fr/acatalog/"> is before the <html> tag.

    Your URL above uses a cgi-bin address like (I've broken it onto several lines)

    www.extense.com/cgi-bin/x2cgi_view.cgi
    ?userID=799410652&view=on&query=a111
    &url=http%3A%2F%2Fwww.supreme.fr%2Facatalog%2billes_pool.html#marker

    this isn't standard Actinic operation.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      The answer is visible in the address bar of the browser. When the user reaches the page via search, the address he is on is routed via cgi-bin.

      Because the larger image address is entered as a relative address, the browser is looking for the page inside cgi-bin and not finding it.

      A solution may lie in the Advanced | Network Setup - use cgi-bin relarive urls in catalog pages setting, though I do not know for sure.
      Bill
      www.egyptianwonders.co.uk
      Text directoryWorldwide Actinic(TM) shops
      BC Ness Solutions Support services, custom software
      Registered Microsoft™ Partner (ISV)
      VoIP UK: 0131 208 0605
      Located: Alexandria, EGYPT

      Comment


        #4
        Thank you for your answers.
        Williams, I have modified following your suggestion the Advanced | Network Setup - use cgi-bin relative urls. It doesn't resolve my problem.
        Norman, do you think it is a problem if BASE HREF... is before the <html> tag ?. About the fact that it isn't a standard Actinic operation, you are right. So I have made a search from my main page on Actinic. I get the following link :http://www.supreme.fr/cgi-bin/sh0000...%23aA122#aA122 . And I have the same problem if I try to enlarge the image. So the problem appear even with a standard actinic operation.
        Didier
        www.supreme.fr
        _____________________
        Saint Malo. France

        Comment


          #5
          Actually, Norman's find may solve the problem. Open your template file and cut the BASEHREF from where it is now, paste it back into the template just below the last META entry, clear the 'use cgi-bin relative URLs'and refresh the site - let us know how that goes.
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            Actually I have in the act_primary the following lines :
            <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
            <meta name="ACTINICTITLE" content="NETQUOTEVAR:PAGEHEADER">
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
            So what you suggest is to paste <Actinic:... just after this last line which is the last one with META entry ? I try during the week end and will advise immediately. Thank you
            Didier
            www.supreme.fr
            _____________________
            Saint Malo. France

            Comment


              #7
              The trouble is, now I have looked at the source, the BASEHREF is in there twice. You can safely delete the one that is before the html opening tag.

              You do not appear to have DOCTYPE declaration and there are what look like thousands of lines of custom javascript on the page - ignore anything I said. I cannot help with this...
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #8
                I have add a DOCTYPE declaration and modify the BASEHREF (there is only one BASEHREF on the script) : the problem is still the same !
                As I used a function popUp specific proposed by Chris Dicken on this post
                http://community.actinic.com/showthr...&highlight=pop
                perhaps that the problem come from this function ?
                Didier
                www.supreme.fr
                _____________________
                Saint Malo. France

                Comment


                  #9
                  Your site appears to sort of work now. If I go to http://www.supreme.fr/acatalog/billes_pool.html (no more strange cgi-bin address) then popups are fine. However if I later go to that weird link you mentioned in your first post, then the popups fail.

                  Why are you using this non-actinic cgi script?
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    I think I see the problem and a possible solution. Actinic uses the BASEHREF tag to modify the URL's of links when it serves pages from scripts. The Perl that does this will also modify urls within the ShowPopUp routine but isn't identifying your custom popUp routine.

                    The solution is to turn off search hightlighting. Go to View / Search Settings / Results and turn off Highlight Located Text.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      Wonderfull. Thank you Norman. Impossible for me to understand why it works, but it works !
                      You asked me why I am using this non-actinic cgi script? Simply because it was the only way to adapt the size of the pop up to the size of the image.
                      Thanks a lot.
                      Didier
                      Didier
                      www.supreme.fr
                      _____________________
                      Saint Malo. France

                      Comment

                      Working...
                      X