We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2166
    • 8 Posts
    Hello,

    I just made a clean install of modx Evolution 1.04 (which include ajaxSearch 1.9.0. My ’strange pb’ is that I cannot manage to have any result displayed. The IntroMessages are displayed (like when nothing entered in the input zone or when entered more than 6 words or when no match return).

    To be sure to evacuate all nasty-interactions with any template or module, I used the ’Minimal Template’ for search and landing page with these parameteters :

    1) The search form just contains : [!AjaxSearch? &ajaxSearch=`0` &landingPage=`32`!]

    2) The landing page (id#32) : [!AjaxSearch? &ajaxSearch=`0` &showResults=`1` &showInputForm=`0`!]

    When the search is supposed to return some values, I instead got the landing page blank (source code ==> nothing, totaly empty)

    I found that the key of the pb is the &showResults=`1` :
    0 : when &showResults=`0` ==> landing page is normally displayed but nothing is displayed under title of the article
    1 : when &showResults=`1`==> landing page appears (after redirection from the search page) empy, blank (HTML source code empty)

    I know this sound stupid of me but I really try to find a solution for 3 DAYS now. :-(

    Any help would be appreciated.

    Thank you in advance.
      • 5811
      • 1,717 Posts
      I used the ’Minimal Template’ for search and landing page with these parameteters :
      Is your search form embedded in your template or in a document ?


      1) The search form just contains : [!AjaxSearch? &ajaxSearch=`0` &landingPage=`32`!]
      This is correct

      2) The landing page (id#32) : [!AjaxSearch? &ajaxSearch=`0` &showResults=`1` &showInputForm=`0`!]
      This is also correct


      0 : when &showResults=`0` ==> landing page is normally displayed but nothing is displayed under title of the article
      This is the normal behaviour
      1 : when &showResults=`1`==> landing page appears (after redirection from the search page) empy, blank (HTML source code empty)
      Not correct is your documents are published, searchable and if a search term should be found in these documents.

      Have you read this post, may be this could help you.
      If your page are in production, could you send me by message, the url of these pages, I would like check them.


        • 2166
        • 8 Posts
        Hello Everybody,

        just to share the information with the community ; with the great help of coroico it appears that the solution of my pb is fixed by this post http://modxcms.com/forums/index.php/topic,50379.msg293196.html#msg293196 with an interesting point which is that mb_stripos() requires php >= 5.2.0 (http://php.net/manual/en/function.mb-stripos.php)

        Thank you again to you coroico.

        Arthur.