Page 1 of 2

Search doesn´t work

Posted: Mon Aug 01, 2011 8:53 pm
by Trantor
http://www.well-of-souls.com/forums/search.php doesn´t respond at all. Or is this only @ my place?

Re: Search doesn´t work

Posted: Tue Aug 02, 2011 12:43 am
by Arioch
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.

Re: Search doesn´t work

Posted: Sat Aug 06, 2011 2:23 pm
by Trantor
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. ;)

Re: Search doesn´t work

Posted: Sat Aug 06, 2011 5:57 pm
by Arioch
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.

Re: Search doesn´t work

Posted: Sat Aug 06, 2011 7:14 pm
by Karst45
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].....

Re: Search doesn´t work

Posted: Mon Feb 06, 2012 6:34 am
by Hālian
Sorry to bump, but searches are still broken.

Re: Search doesn´t work

Posted: Mon Feb 06, 2012 7:19 am
by Arioch
Yeah, I know. I've upgraded the forum software version twice, but it's still broken.

Re: Search doesn´t work

Posted: Mon Feb 06, 2012 3:01 pm
by Hālian
What version are you on?

Re: Search doesn´t work

Posted: Mon Feb 06, 2012 6:20 pm
by Arioch
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.

Re: Search doesn´t work

Posted: Sat Feb 11, 2012 4:15 pm
by Hālian
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?

Re: Search doesn´t work

Posted: Sat Feb 11, 2012 8:16 pm
by Arioch
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: Select all

		'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: Select all

		'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.

Re: Search doesn´t work

Posted: Sat Feb 11, 2012 9:38 pm
by Hālian
No problem :D

Search doesn t work

Posted: Tue Mar 01, 2016 9:47 pm
by Lerakroxa
Works for me. Theres a slight delay that I attribute more to lag and processing time, but the search feature does work as advertised.

Re: Search doesn´t work

Posted: Wed Mar 02, 2016 5:06 am
by Hālian
Please don't bump four-year-old threads.

Re: Search doesn´t work

Posted: Wed Mar 02, 2016 7:11 am
by Arioch
Carl Miller wrote:Please don't bump four-year-old threads.
It's more than likely a spambot. But, innocent until proven guilty, right?

Re: Search doesn´t work

Posted: Wed Mar 02, 2016 11:20 am
by GeoModder
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.

Re: Search doesn´t work

Posted: Wed Mar 02, 2016 6:39 pm
by Arioch
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).

Re: Search doesn´t work

Posted: Wed Mar 02, 2016 7:28 pm
by Suederwind
Sorry for the OT, but could it be that there are more SPAM bots than usual?

Re: Search doesn´t work

Posted: Wed Mar 02, 2016 7:43 pm
by Arioch
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.

Re: Search doesn´t work

Posted: Wed Mar 02, 2016 9:49 pm
by Krulle
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: Select all

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