We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22098
    • 218 Posts
    when entering a search string with spaces on beginning or end you get this error:

    PHP error debug
    Error: strpos() [function.strpos]: Empty delimiter
    Error type/ Nr.: Warning - 2
    File: /home/admin/domains/trend.ilink2.nl/public_html/assets/snippets/AjaxSearch18/classes/search.class.inc.php
    Line: 752
    Line 752 source: $wordLeft = $mbStrpos($mbStrtolower($text), $mbStrtolower($searchTerm));
      • 785
      • 2,113 Posts
        Создание сайтов на MODx, поддержка сайтов, поисковая оптимизация, программирование, копирайтинг
        Статьи о MODx, регулярно новые публикации
        • 22098
        • 218 Posts
        merci!

        we also have a site with AS 1.5 running, with the same bug. How can we fix it there? I’ve tried adding the trims, but cannot find the charset call

        Olaf
          • 785
          • 2,113 Posts
          Quote from: olafmol at Aug 26, 2008, 03:50 AM

          site with AS 1.5 running, with the same bug
          Are you sure? In MODx 0.9.6 it is written, that AjaxSearch 1.5, but actually 1.6.
          In 1.6 no problems, but 1.5 I have not on my computer. In 1.6 many other bugs - change it to 1.72
            Создание сайтов на MODx, поддержка сайтов, поисковая оптимизация, программирование, копирайтинг
            Статьи о MODx, регулярно новые публикации