Results 1 to 13 of 13

Thread: Search engine problems in 2.9.2

  1. #1
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default 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?

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default 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

  3. #3
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default 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.
    Contao Community Moderator
    → Support options

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

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

  5. #5
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default 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

  6. #6

    Default 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.
    Web design agency - EDsolution.si Izdelava spletnih strani

  7. #7

    Default Re: Search engine problems in 2.9.2

    Any solutions found?
    Web design agency - EDsolution.si Izdelava spletnih strani

  8. #8
    New user
    Join Date
    01-08-11.
    Posts
    1

    Default Re: Search engine problems in 2.9.2

    Hi,
    now I've got the same problem. Does someone know a solution for this problem?

  9. #9
    User MacKP's Avatar
    Join Date
    06-19-09.
    Location
    Duisburg (Germany)
    Posts
    211

    Default Re: Search engine problems in 2.9.2

    I think you search for this : http://dev.contao.org/projects/typoligh ... SearchForm
    ?

    regards
    Mediendepot Ruhr
    For real-time chat the (inofficial) Chatroom in IRC:
    -> irc.freenode.net #contao | irc.freenode.net #contao.de

  10. #10
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default 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?
    Contao Community Moderator
    → Support options

  11. #11

    Default Re: Search engine problems in 2.9.2

    Quote Originally Posted by MacKP
    I think you search for this : http://dev.contao.org/projects/typoligh ... SearchForm
    ?

    regards
    Why is this neccesery if in older version eveything worked fine without form generator?
    Web design agency - EDsolution.si Izdelava spletnih strani

  12. #12
    User MacKP's Avatar
    Join Date
    06-19-09.
    Location
    Duisburg (Germany)
    Posts
    211

    Default Re: Search engine problems in 2.9.2

    leo sayd it before in this thread: it was a bug.

    regards
    Mediendepot Ruhr
    For real-time chat the (inofficial) Chatroom in IRC:
    -> irc.freenode.net #contao | irc.freenode.net #contao.de

  13. #13

    Default 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.
    Web design agency - EDsolution.si Izdelava spletnih strani

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •