Site Search Error

Discussion in 'Products & Tools' started by kusadasi-guy, Apr 1, 2004.

  1. #1
    http://www.kusadasi.biz/results.php?q=kusadasi

    i have a problem with the script, my site on the win2k3 and today the search script looks not workin, here is the some errors:

    Notice: Undefined index: start in C:\hshome\kusadasi\kusadasi.biz\results2.php on line 32




    Notice: Use of undefined constant titles - assumed 'titles' in C:\hshome\kusadasi\kusadasi.biz\results2.php on line 87


    So, what should i do?
     
    kusadasi-guy, Apr 1, 2004 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
    Can you set it up with the default files that come in the zip file? Did it ever work for you?

    - Shawn
     
    digitalpoint, Apr 1, 2004 IP
  3. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    kusadasi-guy, Apr 1, 2004 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
    Did it work in the past?

    - Shawn
     
    digitalpoint, Apr 1, 2004 IP
  5. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sure, it was work very well...
     
    kusadasi-guy, Apr 1, 2004 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
    Strange, nothing has changed on this end I promise... Do you happen to have a different server you could test it on to see if it's specific to that machine somehow?

    - Shawn
     
    digitalpoint, Apr 1, 2004 IP
  7. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i have just tested the script on another server (unix) and everything was okey.

    i dont know whats wrong with my server.

    Shawn, what do you think about the problem? A Network problem (XML-SOAP data exchanging) or Php setting problem (but my phpbb working very well) ? :confused:
     
    kusadasi-guy, Apr 1, 2004 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
    No, it seems to be a PHP problem... the error you are seeing can happen if you call an array variable like:

    $var[value] instead of $var["value"]

    The results themselves are there, just with a bunch of errors, so the API is working. Are they both Windows machines running PHP by chance?

    - Shawn
     
    digitalpoint, Apr 1, 2004 IP
  9. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    >>Are they both Windows machines running PHP by chance?

    Yes, my phpBB is working on win2k3.
    How can i fix the error? Do you have a solution? Please help :(
     
    kusadasi-guy, Apr 1, 2004 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    Not really sure to be honest... if you wanted to somehow give me access to the results.php file on the server, I'm interested in knowing what's wrong with it myself... so I'll have a look at it for you if you want.

    - Shawn
     
    digitalpoint, Apr 1, 2004 IP
  11. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #11
    PMed to you
     
    kusadasi-guy, Apr 1, 2004 IP
  12. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #12
    It's definitely some weirdness with your PHP setup. When did you install PHP 4.3.5 on the server? It was released in the last week, so it had to be recently. And they already put out a 4.3.6RC1 version because of some bugs introduced in 4.3.5 (I'm using 4.3.5 though on my servers). But maybe it's some Windows specific bug. Can you find out when exactly the new PHP was installed on the server and see if that is the time it stopped working right?

    - Shawn
     
    digitalpoint, Apr 1, 2004 IP
  13. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Thank you for help Shawn, i will ask to hosting company today these questions...

    as you know, my search script was work fine, buy today i noticed that errors.. i will let you know.

    Thanks
     
    kusadasi-guy, Apr 1, 2004 IP
  14. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #14
    My hosting company said that we have just installed the newest version of PHP, but we are downgrading the software because of unsatisfied results.

    And now my search script working very well, Thanks Digital Point.
     
    kusadasi-guy, Apr 3, 2004 IP
  15. rajeev_seo

    rajeev_seo Peon

    Messages:
    211
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    When looking for a fix I ran across this post in the TechNet forums that gave me the answer. Your web.config file may have identity impersonate=”false”. Sure enough, I looked at the web.config and impersonate=”false”. I changed it to =”true”, performed an iisreset and reran the full crawl. Success!! The downside…it did indeed break a custom feature that was installed in the farm. So now we are on to fixing that problem.
     
    rajeev_seo, Mar 30, 2011 IP