We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27305
    • 173 Posts
    On my search box if I enter one word it works fine, if I enter a space then type a word I get the following error, my call is. Wonder if its something I have done or need to set on the call

    [!AjaxSearch? &ajaxSearch=`0` &AS_landing=`28`!]


    PHP error debug 
      Error:  strpos() [function.strpos]: Empty delimiter.   
      Error type/ Nr.:  Warning - 2   
      File:  /var/www/html/assets/snippets/ajaxSearch/classes/search.class.inc.php   
      Line:  752   
      Line 752 source:  $wordLeft = $mbStrpos($mbStrtolower($text), $mbStrtolower($searchTerm)); 

      I made my first site with modx
      ------------------------
      Shopping blog
      Sky+ HD
      • 27305
      • 173 Posts
      Fixed it, added

      &advSearch=`exactphrase`


      and it now returns nothing found, not the modx error
        I made my first site with modx
        ------------------------
        Shopping blog
        Sky+ HD
        • 5811
        • 1,717 Posts