running Drupal 4.6.2, I find the following php error in our log once or twice per day.

details
Type php
Date Monday, August 1, 2005 - 07:45
User Anonymous
Location /?q=node/39&highlight=%2Crepository
Message stristr(): Empty delimiter. in /home/groups/tortoisesvn/htdocs/modules/highlight/highlight.module on line 23.
Severity error
Hostname 133.186.87.167

This is probably caused by a bug in trip_search which passes the first quote of the search results for "repository" to highlight. I'll file this as a separate issue in trip_search and add a link to here.

Note that highlight doesn't fail to highlight the search term.

Comments

luebbe’s picture

I wrote:

This is probably caused by a bug in trip_search which passes the first quote of the search results for "repository" to highlight. I'll file this as a separate issue in trip_search and add a link to here.

I meant an additional comma.

luebbe’s picture

Here's the corresponding trip_search issue: http://drupal.org/node/28025

luebbe’s picture

Status: Active » Fixed

Fixed by nedjo, see http://drupal.org/node/28025

luebbe’s picture

Status: Fixed » Active

Sorry to reopen this, but the patch for highlight.module attached to http://drupal.org/node/28025 causes "headers already sent" errors instead.

sime’s picture

Status: Active » Closed (fixed)

Closed by luebbe's own reasoning:
http://drupal.org/node/28025