Closed (fixed)
Project:
Highlight
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2005 at 08:40 UTC
Updated:
29 May 2006 at 04:20 UTC
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
Comment #1
luebbe commentedI wrote:
I meant an additional comma.
Comment #2
luebbe commentedHere's the corresponding trip_search issue: http://drupal.org/node/28025
Comment #3
luebbe commentedFixed by nedjo, see http://drupal.org/node/28025
Comment #4
luebbe commentedSorry to reopen this, but the patch for highlight.module attached to http://drupal.org/node/28025 causes "headers already sent" errors instead.
Comment #5
simeClosed by luebbe's own reasoning:
http://drupal.org/node/28025