Reply to topic  [ 25 posts ] 
Search doesn´t work 
Author Message
User avatar

Joined: Sun Mar 06, 2011 6:52 am
Posts: 780
Location: Hamburg, Germany
Post Search doesn´t work
search.php doesn´t respond at all. Or is this only @ my place?

_________________
sapere aude.


Mon Aug 01, 2011 1:53 pm
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
I noticed that it hasn't been working, I think since I recently upgraded the board software version. I'll try to troubleshoot it when I get a chance.

_________________
Outsider


Mon Aug 01, 2011 5:43 pm
Profile WWW
User avatar

Joined: Sun Mar 06, 2011 6:52 am
Posts: 780
Location: Hamburg, Germany
Post Re: Search doesn´t work
Now i get two alternating error messages: Either "500 - internal server error" or my browser (Opera 11.50) says in a standard message "no such website, try google".
Maybe that´s a hint?

But - on the other hand: Don´t waste your time with this sh*t, focus on the elves. ;)

_________________
sapere aude.


Sat Aug 06, 2011 7:23 am
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
There is some kind of php error that prevents the page from loading, which I presume was introduced when I upgraded the board software version. The error in the log file is:

PHP Parse error: syntax error, unexpected T_DOUBLE_ARROW in /forums/search.php on line 597

I will hunt it down when I have time, but as you mention, it's not top priority.

The 500 - internal server error is, I think, not related.

_________________
Outsider


Sat Aug 06, 2011 10:57 am
Profile WWW
User avatar

Joined: Sat Mar 05, 2011 9:03 am
Posts: 785
Location: Quebec, Canada
Post Re: Search doesn´t work
maybe it the [insert techno babble] that need to be increase, have you try reconfiguring the [more techno babble] to version 2.1 am sure it would solve the [tiktik-kik-tik].....


Sat Aug 06, 2011 12:14 pm
Profile WWW
User avatar

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 709
Location: Central Florida
Post Re: Search doesn´t work
Sorry to bump, but searches are still broken.

_________________
Hoenn


Sun Feb 05, 2012 11:34 pm
Profile WWW
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
Yeah, I know. I've upgraded the forum software version twice, but it's still broken.

_________________
Outsider


Mon Feb 06, 2012 12:19 am
Profile WWW
User avatar

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 709
Location: Central Florida
Post Re: Search doesn´t work
What version are you on?

_________________
Hoenn


Mon Feb 06, 2012 8:01 am
Profile WWW
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
phpBB 3.0.10.

The error from the log file is:

[06-Feb-2012 10:18:08] PHP Parse error: syntax error, unexpected T_DOUBLE_ARROW in /forums/search.php on line 597

I poked around there a little bit, but I don't really have any PHP debugging tools.

_________________
Outsider


Mon Feb 06, 2012 11:20 am
Profile WWW
User avatar

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 709
Location: Central Florida
Post Re: Search doesn´t work
Quote:
Sample PHP error statement

PHP: Parse error: syntax error, unexpected T_DOUBLE_ARROW in .\rvunits_controller.php on line 152

It is a syntax error in the coding. Check the line number indcated in the error to see how the values have been assigned to variables. There should be an array that should have been used in that place and the value assignment seems to happen outside the said boundaries – like “xyz” => “name” should be changed to array(“xyz” => “name”) instead.


e: Perhaps you should try stock search.php?

_________________
Hoenn


Sat Feb 11, 2012 9:15 am
Profile WWW
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
I did a diff on the search.php with the one you gave me, and not surprisingly, the only difference was on line 597.

Code:
      'REPORTED_IMG'      => $user->img('icon_topic_reported', 'TOPIC_REPORT 71,131,1,42,129,94
G'   => $user->img('icon_topic_unapproved', 'TOPIC_UNAPPROVED'),


vs

Code:
      'REPORTED_IMG'      => $user->img('icon_topic_reported', 'TOPIC_REPORTED'),
      'UNAPPROVED_IMG'   => $user->img('icon_topic_unapproved', 'TOPIC_UNAPPROVED'),


Kind of wonder how that got screwed up. Anyhow, it appears to be working now. Thanks for the help.

_________________
Outsider


Sat Feb 11, 2012 1:16 pm
Profile WWW
User avatar

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 709
Location: Central Florida
Post Re: Search doesn´t work
No problem :D

_________________
Hoenn


Sat Feb 11, 2012 2:38 pm
Profile WWW

Joined: Tue Mar 01, 2016 1:19 am
Posts: 1
Location: Россия
Post Search doesn t work
Works for me. Theres a slight delay that I attribute more to lag and processing time, but the search feature does work as advertised.


Tue Mar 01, 2016 2:47 pm
Profile ICQ
User avatar

Joined: Thu Sep 29, 2011 9:28 pm
Posts: 709
Location: Central Florida
Post Re: Search doesn´t work
Please don't bump four-year-old threads.

_________________
Hoenn


Tue Mar 01, 2016 10:06 pm
Profile WWW
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
Carl Miller wrote:
Please don't bump four-year-old threads.

It's more than likely a spambot. But, innocent until proven guilty, right?

_________________
Outsider


Wed Mar 02, 2016 12:11 am
Profile WWW
User avatar

Joined: Mon Mar 21, 2011 11:31 am
Posts: 765
Post Re: Search doesn´t work
Appearantly too common words are ignored in searchs?

I tried to search for "well of souls", and both "well" and "souls" won't return a result because of this.
Also tried with "Arioch" and "Loroi" for testing. Same result.

_________________
Image


Wed Mar 02, 2016 4:20 am
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
GeoModder wrote:
Appearantly too common words are ignored in searchs?

I tried to search for "well of souls", and both "well" and "souls" won't return a result because of this.
Also tried with "Arioch" and "Loroi" for testing. Same result.

Yes, I've noticed that too, and it's somewhat annoying. I've disabled the feature and I'm rebuilding the index (which may take some time).

_________________
Outsider


Wed Mar 02, 2016 11:39 am
Profile WWW

Joined: Thu Jul 05, 2012 1:55 pm
Posts: 772
Post Re: Search doesn´t work
Sorry for the OT, but could it be that there are more SPAM bots than usual?

_________________
Forum RP: Cydonia Rising
[RP]Cydonia Rising [IC]


Wed Mar 02, 2016 12:28 pm
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
Suederwind wrote:
Sorry for the OT, but could it be that there are more SPAM bots than usual?

Yes, there certainly are. There have been about 20-30 new registrations within the last 2-4 days, that are probably all spambots; they appear to be successfully solving the captcha. I'll change the questions and see if that has an effect.

_________________
Outsider


Wed Mar 02, 2016 12:43 pm
Profile WWW

Joined: Wed May 20, 2015 2:14 am
Posts: 813
Post Re: Search doesn´t work
If needed, google has pretty good searches, which can avoid phpBB's common words pretty well...
Just add "site:http://www.well-of-souls.com/forums/" to the search statement, and google will only show results from this forum...
Actually, this should work for bing too...

Example:
Dang, this iShit apparatus does not change the url of the search statement...
try
Code:
loroi common word search site:www.well-of-souls.com/forums/
in your favourite search engine.
Or use google: http://lmgtfy.com/?q=loroi+common+word+ ... Fforums%2F

_________________
Vote for Outsider on TWC: Image
charred steppes, borders of territories: page 59,
jump-map of local stars: page 121, larger map in Loroi: page 118,
System view Leido Crossroads: page 123


Wed Mar 02, 2016 2:49 pm
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
The Search function should now be working properly without excluding keywords.

And yes, Lerakroxa was a spambot.

I changed the captcha questions, and that appears to have stopped the flood of new spambot registrations. I can only assume that somebody must provide a list of answers for a given site, and that the list is somehow distributed. I don't think any bot could come up with answers on its own; these aren't questions you can Google the answers to.

I've deleted all the new registrations with no posts for the last few days, but there are probably a few which registered earlier that are still waiting to pop up.

_________________
Outsider


Fri Mar 04, 2016 10:52 am
Profile WWW

Joined: Wed May 20, 2015 2:14 am
Posts: 813
Post Re: Search doesn´t work
Well, it's not working completely.

Trying to find "Erfworld" or "Cameo" using the forum search gives "no result" (*),
using google to find "Cameo" gave the correct post (the one I was looking for) as first result.


(*)
F'in weird.... When checking the provided url's, search suddenly does know "Erfworld" and "Cameo", although 5 minutes before it did not.
But it does not link to the top post, only to my reply... That explains why search does know it now, and not before...
The index is missing apparently quite a few posts.....

_________________
Vote for Outsider on TWC: Image
charred steppes, borders of territories: page 59,
jump-map of local stars: page 121, larger map in Loroi: page 118,
System view Leido Crossroads: page 123


Mon Mar 07, 2016 2:53 am
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
The process to rebuild the search index did not complete properly. I'm in the process of trying to fix it.

_________________
Outsider


Mon Mar 07, 2016 1:16 pm
Profile WWW

Joined: Wed May 20, 2015 2:14 am
Posts: 813
Post Re: Search doesn´t work
Why not go all out and try to update to the current version of phpBB?

Might be as much time investment as fixing the search routine, and may have the added advantage of better security...

Anyway, the workaround using your favourite search engine and adding "site:www.well-of-souls.com/forums/" also works fine.
Several forums I visit have issues with the forum search. php is not really made for searches and search databases...

edit: (you seem to have 3.0.9 if I estimate correctly (at least you're newer than that). Which is actually more current than my first guess would've been. So forget what I wrote)

_________________
Vote for Outsider on TWC: Image
charred steppes, borders of territories: page 59,
jump-map of local stars: page 121, larger map in Loroi: page 118,
System view Leido Crossroads: page 123


Tue Mar 08, 2016 12:56 am
Profile
Site Admin
User avatar

Joined: Fri Mar 04, 2011 9:19 pm
Posts: 2978
Location: San Jose, CA
Post Re: Search doesn´t work
After turning off the "ignore common words" feature, I was unable to successfully rebuild the search index using the default Fulltext native method, even after several tries. I changed the search method to Fulltext mysql and rebuilt the index, and the search function now appears to be working properly. Let me know if you experience further problems with it.

_________________
Outsider


Mon Mar 28, 2016 9:34 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 25 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.