Webmastersite.net
Register Log In

Warning: strstr(): Empty delimiter. in /

Comments on Warning: strstr(): Empty delimiter. in /

capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Mar 08, 2006 - 1:48 PM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 09, 2006 - 7:34 AM:

The line number indicates you're trying to list top searches from a search log file which has gone wrong somehow.
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Mar 09, 2006 - 8:29 AM:

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 -->
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 10, 2006 - 1:07 AM:

Try overwriting with a blank searchlog.txt.
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Mar 11, 2006 - 7:12 PM:

yes that worked, thx.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.