Announcement

Collapse
No announcement yet.

Simple Search is searching the wrong site!

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

    Simple Search is searching the wrong site!

    Hi All

    Well i'm pulling my hair out again

    I'm creating a new site www.sortitquick.co.uk from a snap shot of my other site www.theinkdepot.co.uk when you do a search on the SortITquick site it displays 0 results in TheInkDepot results page...hope that makes sense?

    Have checked all the details in Network Setup which look fine, can anyone out there help me????

    Many thanks in advance.

    Neil
    Neil Bosley
    The Ink Depot
    http://www.theinkdepot.co.uk
    nb@theinkdepot.co.uk

    #2
    Possibillity but....If they share the same cgi-bin they must have different script numbers.

    Comment


      #3
      Many thanks for you reply!

      Both sites are on the same server but have seperate accounts with their own cgi bins...i hope which script would require changing?

      Regards

      Neil
      Neil Bosley
      The Ink Depot
      http://www.theinkdepot.co.uk
      nb@theinkdepot.co.uk

      Comment


        #4
        The action on the search script looks like this:-

        "http://www.sortitquick.co.uk/cgi-bin/ss000999.pl"

        Has it been hard coded into the template? If so you will need to amend it to:-

        "http://www.theinkdepot.co.uk/cgi-bin/ss000999.pl" (assuming you have the same script id)

        Dave
        Cheers

        David
        Located in Edinburgh UK

        http://twitter.com/mcfinster

        Comment


          #5
          Hi Dave

          I've checked and there is a ss000999.pl in both cgi bins on each of the accounts on our server.

          Would you know on which templates this might have been hard coded?

          many thanks

          Neil
          Neil Bosley
          The Ink Depot
          http://www.theinkdepot.co.uk
          nb@theinkdepot.co.uk

          Comment


            #6
            Try changing the script number on one site - say to 900 - that way the scripts will not become confused.
            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


              #7
              Neil,

              Check you Act_Primary.html template.

              Dave
              Cheers

              David
              Located in Edinburgh UK

              http://twitter.com/mcfinster

              Comment


                #8
                Here's the code for the simple search on my Primary Templates:

                <!-- SIMPLESEARCH HTML BEGIN -->
                <table width="152" border=0 align="center" cellpadding=0 cellspacing=0>
                <form name=simplesearch action="CUSTOMVAR:CGIBINURLss000999.pl" METHOD="NETQUOTEVAR:CGIMETHOD">
                <tr valign="middle">
                <td width="152" height="27" align="center" valign="top" noWrap>
                <input type="TEXT" name="SS2" size="15" maxsize="125" value="Quick Search" onFocus="this.value='';this.style.background='#FFFFFF'">
                </td>
                </tr>
                <tr valign="middle">
                <td width="152" height="27" align="center" valign="top" noWrap>
                <input name="ACTION2" type="image" id="ACTION5" src="sortit_searchgo_up.gif" width="152" height="29" border="0" onMouseOver="src='sortit_searchgo_ova.gif' " onMouseOut="src='sortit_searchgo_up.gif' ">
                <input type=HIDDEN name="PR2" value="-1"> <input type=HIDDEN name="TB2" value="A">
                <input type=HIDDEN name="SHOP2" value="NETQUOTEVAR:SHOPID">
                </td>
                </tr>
                </form>
                </table>
                <!-- SIMPLESEARCH HTML END -->

                Wouldnt simply renaming the ss000999.pl to say ss000900.pl require me to make other changes too?

                Sorry for being dim

                Neil
                Neil Bosley
                The Ink Depot
                http://www.theinkdepot.co.uk
                nb@theinkdepot.co.uk

                Comment


                  #9
                  Neil,

                  If you go to Design | Site Defaults is there a Custom Property in there called "CGIBINURLss000999.pl" and if so what is in the value field?

                  Don't think you need to change the script ID as long as they are on seperate accounts as you say. Although, for simplicity, it may be an idea!

                  Dave
                  Cheers

                  David
                  Located in Edinburgh UK

                  http://twitter.com/mcfinster

                  Comment


                    #10
                    Hi Dave

                    I'm using Developer and couldnt find 'custom property' in the location you suggested but did find it under the 'advanced' tab, there is a property called "CGIBINURL" but has no value just says Property 'CGIBINURL' Type 'Text' Custom Property Name 'CGIBINURL'

                    There must be something wrong with the pointing to the scripts as both sites seem to be having problems now

                    Neil
                    Neil Bosley
                    The Ink Depot
                    http://www.theinkdepot.co.uk
                    nb@theinkdepot.co.uk

                    Comment


                      #11
                      Thanks for all the advice ;-)

                      Dave put me on the right track, i did find a custom property for the CGIBINURL and the value was pointing to The Ink Depot cgi_bin, so thanks again ;-)

                      Is it possible to have the search search the brochure pages too?

                      kind regards

                      Neil
                      Neil Bosley
                      The Ink Depot
                      http://www.theinkdepot.co.uk
                      nb@theinkdepot.co.uk

                      Comment


                        #12
                        Not possible to search the Brochure pages at the moment. What you could possibly look at doing is creating Fragments in pages and creating links to your brochure page's.

                        Kind regards,
                        Bruce King
                        SellerDeck

                        Comment


                          #13
                          Thanx for all you help guys

                          Neil
                          Neil Bosley
                          The Ink Depot
                          http://www.theinkdepot.co.uk
                          nb@theinkdepot.co.uk

                          Comment

                          Working...
                          X