Bug #14164
closed
Added by old_rouven over 20 years ago.
Updated over 18 years ago.
Description
if i try to search a word i get the following error:
Warning: Invalid range end in /var/www/virtual/typo3_src-3.6.1/typo3/sysext/cms/tslib/class.tslib_search.php on line 256
(issue imported from #M90)
if i try to search again same keyword it works fine. but the error still comes on first search
This has nothing to do with indexed_search, the error you describe appears in the old search box (tslib).
However, I could not reproduce your error, any other hints? does the error persist, if you use a different version of TYPO3?
Is anyone working on this issue ?
It is rather crucial. I have the problem on both 3.6.1 and 3.6.2. Can anyone give us an update ?
Thanks in advance,
Jacob from Denmark
Carlos had me on "Remote Control" and came up with a temporary (or permanent?) solution for the line 256-issue in tslib/tslib_search.php. He will submit it himself in a while as a bug or maybe a new fix...
Remove the original line 256:
$word = ereg_replace($delchars.'$','',trim($reg0)); // Delete $delchars at end of string
and replace with this:
$word = ereg_replace('[\+\-\.,]$','',trim($reg0)); // Delete $delchars at end of string
Thank you Carlos, u are very kind.
Jacob from Denmark.
This has just been fixed in CVS. See bug 186 if you need a patch for the current version.
- michael
Also available in: Atom
PDF