Closed (duplicate)
Project:
Fuzzy Search
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2011 at 20:05 UTC
Updated:
18 Mar 2014 at 13:12 UTC
Jump to comment: Most recent
Comments
Comment #1
Sepero commentedI at line 1125 I inserted this print in fuzzysearch.module to see if you can decipher the problem
print_r(array('/', $boundary, '[^', PREG_CLASS_SEARCH_EXCLUDE, PREG_CLASS_CJK, ']*', '(', implode('|', $clean_words), ')', '[^', PREG_CLASS_SEARCH_EXCLUDE, PREG_CLASS_CJK, ']*', $boundary, '/iu', '<strong>\0</strong>', $newbody));Here is the output: (expires 04 Sept 2012)
http://xna.pastebin.ca/2079795
Comment #2
Sepero commentedAlso getting the same errors from searching 'atest'. I'm assuming it is somehow related to when this line in the module is executed-
implode('|', $clean_words) = 'latest/'
Comment #3
Sepero commentedI would like to upgrade this bug from minor to normal now.
It appears that the bug also appears when searching for anything ending in est or test (ie. best, fastest, brightest)
The error is causing the module not to close all ending div brackets, and it returns a page with the styles malformed in the browser.
Comment #4
awolfey commentedHi, sorry for the delay. Could you try this on dev? (Please back up or use a test site.) If the problem still exists, send me the node or a link to where I can see the problem.
I tried to duplicate it on the dev version but couldn't get it to happen. Thanks.
Comment #5
mgiffordI think this is a duplicate of #1469172: warning: preg_replace() [function.preg-replace]: Unknown modifier ')' in .../fuzzysearch/fuzzysearch.module on line 1125.