View Single Post
Old 02-23-2005, 06:17 AM   #1
infoland
Green Mole
 
Join Date: Aug 2004
Posts: 6
Problem for short words

I've a "strange" problem.

All is indexing fine (html, php, pdf...not doc/xls ).

But when i make a search, if i type a single letter or a 2 letter word, i obtain a "superb" error message :

Quote:
Notice: Uninitialized string offset: 0 in D:\Apache2\htdocs\diggy\libs\search_function.php on line 590

Notice: Uninitialized string offset: 0 in
D:\Apache2\htdocs\diggy\libs\search_function.php on line 597
My parameters are correct :

Quote:
define('SMALL_WORDS_SIZE',2); //words to not index - must be 2 or more
define('MAX_WORDS_SIZE',30); //max word size
Why such an error ?

Does anyone has a solution ?

Thank you in advance.

PS : i'm using phpdig 1.8.7, apache2, php 4.3.10

Last edited by infoland; 02-23-2005 at 06:21 AM.
infoland is offline   Reply With Quote