[Typo3] Indexed Search Engine (and normal search function) error

Michael Stucki michael at typo3.org
Fri Feb 18 16:33:14 CET 2005


W van Bruggen wrote:

>> You cannot use the latest version of indexed_search with TYPO3 3.6.0.
>> Select an older version from TER or use the one which is installed in
>> typo3/ext/.
> 
> The version i'm currently using is 1.2.8, which i assume is the
> version that came with 3.6.0.
> I'm not sure the problem is related to indexed search engine, since
> the standard search funtion produces the same error message.

Ah, I see. Yes there could be a problem which is fixed in 3.7.0. However I
can't remember that this was causing a PHP error(?)

The fix is easy:

--- cut ---
--- typo3/sysext/cms/tslib/class.tslib_search.php.orig 2004-07-12 22:57:17.000000000 +0200
+++ typo3/sysext/cms/tslib/class.tslib_search.php 2004-09-24 13:06:11.000000000 +0200
@@ -226,7 +226,7 @@
         * @param       string          Special chars which are deleted if the append the searchword (+-., is default)
         * @return      mixed           Returns an ARRAY if there were search words, othervise the return value may be unset.
         */
-       function split($origSword, $specchars='+-', $delchars='+-.,')   {
+       function split($origSword, $specchars='+-', $delchars='+.,-')   {
                $sword = $origSword;
                $specs = '['.$this->quotemeta($specchars).']';
                $delchars = '['.$this->quotemeta($delchars).']';
--- cut ---

- michael
-- 
Want support? Please read the list rules first: http://typo3.org/1438.0.html



More information about the TYPO3-english mailing list