Jump to content

Search bar doesn't work


Recommended Posts

Hi,

In recent days, the search bar on my site: https://www.epizone.fr/ began to malfunction overnight.

 

What I have done so far to remedy the problem:

-Reconstruction of the index

-Desactivation of modules not developed by Prestashop

- Module reset

-Position change

-Cache clearing

 

NOTHING WORKS !

 

the developers of the theme say that it comes from prestashop itself and offers me to update prestashop in a new version.

 

The problem is when I do it, the site is upside down!

 

I do not know what to do...

I tried to see here: 

 

So by checking the line of search.php : '\x{e000}-\x{f8ff}\x{fb29}\x{fd3e}-\x{fd3f}\x{fdfc}-\x{fdfd}'.
 

And everything looks okay, well after that I don't know enough about it.

 

I need your help

Link to comment
Share on other sites

Hello, You can check the search module which your theme used is native PrestaShop module or this custom module.  normally native PrestaShop call search in this url

http://localhost:8888/ps/1.7.7.0/en/search for a localhost site

where your site request 

/jolisearch?s=blou&ajax=true&id_lang=1&maxRows=10

I think this is problem in your custom search module. You can hook PrestaShop default module in same position and check.

 

Thank you

Link to comment
Share on other sites

Please start with the basics:

 - what is your PS version and what is your PHP version? Check the PHP version: some people have reported problems after their hosting provider updated it.

 - There is something fishy about your search url. On my shop I see something like: ?controller=search&orderby=position&orderway=desc&search_query=kaas

In your shop orderby and orderway are missing. Could it be that overrides from jolisearch are still present?

Link to comment
Share on other sites

17 minutes ago, musicmaster said:

It looks like you don't understand overrides.

Overrides replaces existing files either partially of totally. So you might for example have a file /override/classes/search.php overriding /classes/search.php

 

 

How do I know if I have overrides ?

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...