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));
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
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