freakhouse Posted December 17, 2015 Share Posted December 17, 2015 My search has stopped working. Site is worldwidemultimedia.net I'm on PS 1.4 I used 1-click upgrade and rolled it back to a backup. I don't know if this caused this or not. Link to comment Share on other sites More sharing options...
SupportPS Posted December 17, 2015 Share Posted December 17, 2015 Hello. Reindex products for search in preferences->search Link to comment Share on other sites More sharing options...
freakhouse Posted December 17, 2015 Author Share Posted December 17, 2015 Already tried that. didn't help. Link to comment Share on other sites More sharing options...
SupportPS Posted December 17, 2015 Share Posted December 17, 2015 Clean cache in back office. Maybe not all file exist. Link to comment Share on other sites More sharing options...
freakhouse Posted December 17, 2015 Author Share Posted December 17, 2015 I didn't see any button in performance to clean the cache. Deleted the files in public_html/tools/smarty/cache public_html/tools/smarty/compile public_html/tools/smarty_v2/cache public_html/tools/smarty_v2/compile still not working Link to comment Share on other sites More sharing options...
freakhouse Posted December 18, 2015 Author Share Posted December 18, 2015 My hosting company says this is the error they are getting below. Any advice on how to fix this? [17-Dec-2015 13:05:27 US/Pacific] PHP Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in /home/worldwide/public_html/classes/Search.php on line 103 Link to comment Share on other sites More sharing options...
SupportPS Posted December 19, 2015 Share Posted December 19, 2015 rewrite file from clean ps v.1.4 Link to comment Share on other sites More sharing options...
freakhouse Posted December 21, 2015 Author Share Posted December 21, 2015 I replaced the file, still didn't work. I tried to rebuild the search database and get this error over and over.Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in /home/worldwide/public_html/classes/Search.php on line 103 Link to comment Share on other sites More sharing options...
freakhouse Posted December 21, 2015 Author Share Posted December 21, 2015 I just deleted this line of code at line 103 and now it works. $string = preg_replace('/['.PREG_CLASS_SEARCH_EXCLUDE.']+/u', ' ', $string); any idea why? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now