Jump to content

I deleted the module searchblock how do I reinstall?


Recommended Posts

Hi,

Thanks for your help. Yes I turned the search off . I turn the search back on. i tried turning the instant search on and off but no change. I notice when the instant is on the program doesn't seem to be taking time to search a database at all. All these search features worked up to a few weeks ago. I have turned the instant feature back on now. try searching 'war' like there should be hundreds of matches. I have tried the rebuild but no change says there is the correct amount of items 578 in data base.

Any other suggestions

Regards

Trev

Link to comment
Share on other sites

  • 3 weeks later...

Nemo from another post/topic worked for my problem.

Hi,

This happened with the very same version of prestashop to a customer of mine.

I bet you added new products to the catalog, correct? If so, it might be the same thing.

Login to your phpMyadmin and look for the *prefix_*search_index table. If it's empty, the search class might be crashing on index rebuild.

This is due to a wrong character encoding. Verify these things. If all of the above assumptions are corerct, you have to edit the search.php class file.

 

This happens because Prestashop uses an exact copy of Drupal's search module to manage allowed characters.

At about line 56 of that file, locate "x{d800}", and replace it with "x{e000}". Now, rebuild the index, it *should* work.

 

Hope this helps

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...