you are right - if I remove the following code, I don't get that warning message, but this code produces a list of top searches and it does what its supposed to, so what is generating that warning?
<!-- BEGIN TOP SEARCHES --> <CONFIG>5</CONFIG> <a href="search.php?filled=1&whichtype=links&condition=and&search={SEARCHTERM}" class="feed17">{SEARCHTERM}</a> ({NUMBER} searches) <!-- END TOP SEARCHES -->
Comments on Warning: strstr(): Empty delimiter. in /
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
Warning: strstr(): Empty delimiter. in /xxx/directory/templatefunctions.php on line 1571
Am getting above on my directory index page only. I started to notice it after adding a custom template to the Help section.
Any ideas?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The line number indicates you're trying to list top searches from a search log file which has gone wrong somehow.
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
you are right - if I remove the following code, I don't get that warning message, but this code produces a list of top searches and it does what its supposed to, so what is generating that warning?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Try overwriting with a blank searchlog.txt.
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
yes that worked, thx.