Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-3945 now.

Error messages in search results (fix completed in vcs)

Apon using the advanced search feature for the line "SELECT * FROM phpbb_mps WHERE mps_id =" in modification forums, with options 'search subforums - yes' 'post subject and message text' and 'display results as posts' the results page displayed the following...

In overall_header:

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 2364: strpos() [function.strpos]: Empty delimiter.
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 2364: strpos() [function.strpos]: Empty delimiter.
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 2364: strpos() [function.strpos]: Empty delimiter.
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 2364: strpos() [function.strpos]: Empty delimiter.
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 2364: strpos() [function.strpos]: Empty delimiter.
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 2364: strpos() [function.strpos]: Empty delimiter.

Also highlighting in results was messed up with 90% of words highlighted and template appeared to be malfunctioning.

Comments / History

Assigned ticket to user "naderman"

Action performed by Acyd Burn (Server Manager) on Apr 23rd 2007, 18:26

Changed ticket status from "New" to "Reviewed"

Action performed by naderman (Development Team Leader) on Apr 28th 2007, 23:05

Posted by naderman (Development Team Leader) on Apr 28th 2007, 23:26

While this shouldn't throw an error you should also read the information on the search page. Specifically this part:

Use * as a wildcard

Changed ticket status from "Reviewed" to "Fix in progress"

Action performed by naderman (Development Team Leader) on Apr 28th 2007, 23:41

Posted by Pyramide (QA Team) on Apr 30th 2007, 00:52

cvs commit wrote:- * wildcard in a search query should cause \w+ in highlighting, not \w* [Bug #10031]


But this change has the side effect that searching for foo* won't highlight "foo" anymore.

Posted by naderman (Development Team Leader) on May 7th 2007, 10:26

Hrm yeah, you'r right

Changed ticket status from "Fix in progress" to "Fix completed in CVS"

Action performed by naderman (Development Team Leader) on May 13th 2007, 16:16

Ticket details