sampeter Posted May 30, 2014 Share Posted May 30, 2014 Hi , I am new bee to this ,I have a problem in my application my seach option is not working ,if i put some key words in the box its not showing any product. its showing some message "No result found ......." Link to comment Share on other sites More sharing options...
csschopper.com Posted May 30, 2014 Share Posted May 30, 2014 Did you made any customisation in search module? Link to comment Share on other sites More sharing options...
csschopper.com Posted May 30, 2014 Share Posted May 30, 2014 If not then you can check if search is emable or not. You need to check Preferences->Search http://awesomescreenshot.com/0002w92z8e Link to comment Share on other sites More sharing options...
vekia Posted May 30, 2014 Share Posted May 30, 2014 go to preferences > search tab in your back office and rebuild search index. 1 Link to comment Share on other sites More sharing options...
csschopper.com Posted May 30, 2014 Share Posted May 30, 2014 (edited) Hi Vekia, go to adv. parameters > search tab in your back office and rebuild search index. I checked it's Preferences->Search then rebuilt index. Edited May 30, 2014 by csschopper.com (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 30, 2014 Share Posted May 30, 2014 ? Link to comment Share on other sites More sharing options...
csschopper.com Posted May 30, 2014 Share Posted May 30, 2014 http://awesomescreenshot.com/0072w9lz68 Link to comment Share on other sites More sharing options...
sampeter Posted May 30, 2014 Author Share Posted May 30, 2014 http://awesomescreenshot.com/0072w9lz68 Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in C:\xampp\htdocs\say\prestashop\classes\Search.php on line 205 PHP Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in C:\xampp\htdocs\say\prestashop\classes\Search.php on line 205 Link to comment Share on other sites More sharing options...
sampeter Posted May 30, 2014 Author Share Posted May 30, 2014 http://awesomescreenshot.com/0072w9lz68 ? go to preferences > search tab in your back office and rebuild search index. Yes i tried all these things, I am getting some errors it might be related to this ............... 30-May-2014 21:50:06 Asia/Kolkata] PHP Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in C:\xampp\htdocs\say\prestashop\classes\Search.php on line 205 [30-May-2014 21:50:06 Asia/Kolkata] PHP Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in C:\xampp\htdocs\say\prestashop\classes\Search.php on line 205 Link to comment Share on other sites More sharing options...
sampeter Posted May 30, 2014 Author Share Posted May 30, 2014 I tried to fix grammer from drupal then also it left unresolved Link to comment Share on other sites More sharing options...
sampeter Posted May 30, 2014 Author Share Posted May 30, 2014 Yes i tried all these things, I am getting some errors it might be related to this ............... 30-May-2014 21:50:06 Asia/Kolkata] PHP Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in C:\xampp\htdocs\say\prestashop\classes\Search.php on line 205 [30-May-2014 21:50:06 Asia/Kolkata] PHP Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in C:\xampp\htdocs\say\prestashop\classes\Search.php on line 205 Search.php class SearchCore { public static function sanitize($string, $id_lang, $indexation = false) { $string = Tools::strtolower(strip_tags($string)); $string = html_entity_decode($string, ENT_NOQUOTES, 'utf-8'); $string = preg_replace('/(['.PREG_CLASS_NUMBERS.']+)['.PREG_CLASS_PUNCTUATION.']+(?= ['.PREG_CLASS_NUMBERS.'])/u', '\1', $string); Line 205 ..../////$string = preg_replace('/['.PREG_CLASS_SEARCH_EXCLUDE.']+/u', ' ', $string); if ($indexation) $string = preg_replace('/[._-]+/', '', $string); else { $string = preg_replace('/[._]+/', '', $string); $string = ltrim(preg_replace('/([^ ])-/', '$1', ' '.$string)); $string = preg_replace('/[._]+/', '', $string); $string = preg_replace('/[^\s]-+/', '', $string); } Link to comment Share on other sites More sharing options...
Recommended Posts