Search Script Interesting Problem

Discussion in 'Products & Tools' started by tinytim10, May 26, 2006.

  1. #1
    Hi,

    The Digital Point Search Script works great. No error messages etc. The problem is that it finds everything. Type in monkey ( a word not found anywhere on my site), and it finds 438 (or 408) results within the site. No matter what you search for, same number of results with the pages in same order. What is causing this problem?:confused:
     
    tinytim10, May 26, 2006 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    What's the URL for your site?
     
    digitalpoint, May 26, 2006 IP
  3. tinytim10

    tinytim10 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    www.mining.ubc.ca/ipmm
     
    tinytim10, May 26, 2006 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    Have you tried it with the a default search.php file (not edited)?
     
    digitalpoint, May 26, 2006 IP
  5. tinytim10

    tinytim10 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes, tried default unedited script. Same problem, and no error messages either. Is this a PHP problem?
     
    tinytim10, May 28, 2006 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    Might be... can you make a script with just this in it and give the URL?

    <?php
    phpinfo();
    ?>
    PHP:
     
    digitalpoint, May 29, 2006 IP
  7. tinytim10

    tinytim10 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi shawn,

    www.ipmm.mining.ubc.ca/mtrx.php

    i have currently disabled the search button on the home page
     
    tinytim10, May 30, 2006 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Not really sure to be honest... but it doesn't seem like your server is accepting variables from the user for some reason (that's why the search is as if you entered nothing every time).
     
    digitalpoint, May 30, 2006 IP