Search engine problems in 2.9.2
Has anyone else noticed search engine problems in Contao 2.9.2? I have thoroughly tested this over several different installs and concluded that the search engine module went bonk on 2.9.2, but works properly on 2.9.1.
The problem in 2.9.2 is that no search results are shown beneath the form. Unfortunately the official Contao demo is still on 2.9.1, so I can't verify the problem there.
The reason I discovered this is my client just called and asked if I could add a search engine to their site. So, I logged in, upgraded to 2.9.2 and added the module. I spent about a half hour clearing cache, checking all search settings, and banging my head on the keyboard. Then I realized the problem was introduced in the new version (I believe). What are the chances of that happening?
Re: Search engine problems in 2.9.2
Quick update: Uploading this file from 2.9.1 to an install of 2.9.2 is a good temporary fix of the problem. The file is: /system/modules/frontend/ModuleSearch.php
Re: Search engine problems in 2.9.2
Hi Ben,
I've tested now Contaos build-in search engine in my local installation (XAMPP, fresh install of Contao 2.9.2, website template "Music Academy") and there it works fine.
Re: Search engine problems in 2.9.2
Thanks to Blair for figuring this one out! You just need to unset the Redirect page in 2.9.2 ... at least for now.
Quote:
Originally Posted by winanscreative
Hi Ben- Go to your Search Engine module and unset your Redirect Page. It's because of this on line 128:
if ($this->jumpTo < 1 && $strKeywords != '' && $strKeywords != '*')
If it sees a value for your jumpTo page even though it is the same page you are on, it won't trigger the form. Unsetting that fixed my issue. It should just not be set anyhow...
Re: Search engine problems in 2.9.2
Quote:
Originally Posted by Ben
You just need to unset the Redirect page in 2.9.2 ... at least for now.
If you set a redirect page, the module will redirect you instead of displaying the results. It was actually a bug in version 2.9.1 that the module did show the results even though there was a redirect page :)
Re: Search engine problems in 2.9.2
Hm...And how can I get than to redirect it?
I have my search in the box, like contao forum (the top right corner) and on submitting the search btn there should be redirect to page with search result. But if I check redirect in BE there are no action, if I uncheck it, all results are displayed bellow the form.
Any solutions would be fine :)
Regards,
W.
Re: Search engine problems in 2.9.2
Re: Search engine problems in 2.9.2
Hi,
now I've got the same problem. Does someone know a solution for this problem?
Re: Search engine problems in 2.9.2
Re: Search engine problems in 2.9.2
Quote:
Originally Posted by urfali_diyar
Now I've got the same problem. Does someone know a solution for this problem?
What problem are you talking about? Which was mentioned above in the OP? Or that mentioned wotanskrieg?
Re: Search engine problems in 2.9.2
Quote:
Originally Posted by MacKP
Why is this neccesery if in older version eveything worked fine without form generator?
Re: Search engine problems in 2.9.2
leo sayd it before in this thread: it was a bug.
regards
Re: Search engine problems in 2.9.2
I know i know...but...it was..or it still is ?:) I will try it again and let you know if the bug is solved.