Hi. Are you sure your MySQL charset is latin1? As for number one, do you have define('DISPLAY_SNIPPETS',true); in the config file?
If so then try increasing define('SNIPPET_DISPLAY_LENGTH',150); and/or define('DISPLAY_SNIPPETS_NUM',4); in the config file.
Also, in search_function.php find the following:
PHP Code:
while($num_extracts < DISPLAY_SNIPPETS_NUM && $extract_content = fgets($f_handler,1024)) {
if(eregi($reg_strings,$extract_content)) {
$match_this_spot = str_replace('<','<',str_replace('>','>',trim($match_this_spot)));
There is a typo (not related to number one):
PHP Code:
$match_this_spot = str_replace('<','<',str_replace('>','>',trim($match_this_spot)));
should be:
PHP Code:
$match_this_spot = str_replace('<','<',str_replace('>','>',trim($extract_content)));
Now for number one, decrease 1024 in fgets($f_handler,1024) in the above code to something like 200.