'Empty delimiter' warning on main blog page
Posted: Sun May 14, 2006 6:52 pm
I have the following error at the bottom of our main blog page (after the bottom blog entry):
Looks like maybe I don't have a value entered in the configuration somewhere, maybe? Any advice?
Thanks - Jay
Here's a snippet of code from the file in question:Warning: stristr(): Empty delimiter. in /var/www/html/blog/include/functions.inc.php on line 403
Code: Select all
function serendipity_track_referrer($entry = 0) {
global $serendipity;
if (isset($_SERVER['HTTP_REFERER'])) {
if (stristr($_SERVER['HTTP_REFERER'], $serendipity['baseURL']) !== false) { //this is line 403
return;
}Thanks - Jay