infoland
02-23-2005, 06:17 AM
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 :
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 :
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
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 :
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 :
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