"Search Your Site" Error

Discussion in 'Products & Tools' started by yohaas, Apr 6, 2006.

  1. #1
    I am getting an error using the search your site engine, but it only happens when searching some domains. Others work fine.

    The error is:

    Parse error: parse error in /home/sites/site1/web/catalog/search.php(52) : eval()'d code on line 1

    Add Search
    To Your Site Estimated Total Results: 0

    Warning: Invalid argument supplied for foreach() in /home/sites/site1/web/catalog/search.php on line 92


    Any ideas?

    Thanks,
    yohaas
     
    yohaas, Apr 6, 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
    Do you have a specific example?
     
    digitalpoint, Apr 6, 2006 IP
  3. riomurphy

    riomurphy Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I too, am getting the same errors. The searches had worked wonderfully such that a client of mine wanted the same thing. I implemented it for them in their test site and it too, had been working and now does not.

    I have a slight difference in the error:

    Parse error: parse error, unexpected '<' in /home/vista5/public_html/search.php(50) : eval()'d code on line 1

    Warning: Invalid argument supplied for foreach() in /home/vista5/public_html/search.php on line 90

    I haven't touched it since it was working fine in both cases, so I can't imagine what has changed.

    Many thanks.
     
    riomurphy, Apr 8, 2006 IP
  4. homer63

    homer63 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yep - I get the same thing...

    Just put it on the site, get the whole eval error for $url, getting a unexpected '<' so the foreach loop doesn't know what to do with it.

    Is this google changing the way they are handing back the results?
    Or is this someone poking around in the digitalpoint code?

    Instead of relying on google for results, has anyone got a basic script for indexing a site into a flat file, and a bit of php that pulls search terms out of it, ranks them a bit, and displays them as links? Thats all I need really.
     
    homer63, Apr 8, 2006 IP
  5. Tamahome

    Tamahome Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i also get the same error, and surprsingly enouph, i see the error here as well... wiered. o.o

    hmm, maybe it's a database problem with you guys, look: search.digitalpoint.c0m

    o.o hmm
     
    Tamahome, Apr 8, 2006 IP
  6. Tamahome

    Tamahome Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Well, i thinki found out the problem, it's jsut that teh mysql is down for the site. :)

    ww.digitalpoint.com/~shawn/

    it's also down, the mysql isn't connect to it, thats' te only problem, so shawn, please input your correct mysql user/pass, and everything wil be great! :D
     
    Tamahome, Apr 8, 2006 IP
  7. EGS

    EGS Notable Member

    Messages:
    6,078
    Likes Received:
    438
    Best Answers:
    0
    Trophy Points:
    290
    #7
    Just use FreeFind. :D
     
    EGS, Apr 8, 2006 IP
  8. Tamahome

    Tamahome Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    what's that? :S
     
    Tamahome, Apr 9, 2006 IP
  9. wajahost.com

    wajahost.com Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    still having that error. is there a way around it? :(
     
    wajahost.com, Apr 9, 2006 IP
  10. EGS

    EGS Notable Member

    Messages:
    6,078
    Likes Received:
    438
    Best Answers:
    0
    Trophy Points:
    290
    #10
    Well I use FreeFind (.com) ... that's what I was saying. ;)
     
    EGS, Apr 9, 2006 IP
  11. ndogg

    ndogg Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Yes, I too am having that error. Check out the search on my site hawkherald.com
     
    ndogg, Apr 9, 2006 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
    Everything okay right now?
     
    digitalpoint, Apr 9, 2006 IP
  13. JohnsonJohnson

    JohnsonJohnson Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    It's working for me now. Thanks, Shawn!
     
    JohnsonJohnson, Apr 9, 2006 IP
  14. Tamahome

    Tamahome Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    hmm, if google, doesn't have u indexed, can this work? T_T
     
    Tamahome, Apr 9, 2006 IP
  15. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #15
    No, it based on Google's index, so if Google doesn't index you, you wouldn't be able to search with it.
     
    digitalpoint, Apr 9, 2006 IP
  16. Tamahome

    Tamahome Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    ok, is there anyway to make google index me? T_T i wanan use this lol...
     
    Tamahome, Apr 9, 2006 IP
  17. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #17
    Get more links to your site.
     
    digitalpoint, Apr 9, 2006 IP
  18. Tamahome

    Tamahome Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    It isn't open, any other way? T__T
     
    Tamahome, Apr 10, 2006 IP
  19. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #19
    Nope, that's it.
     
    digitalpoint, Apr 10, 2006 IP