protection
French 
CrawlTrack, webmaster dashboard.
Web analytic, SEO and protection

CrawlProtect, your website safety.
Reinforced protection

Two php/MySQL scripts, free and easy to install
The tools you need to manage and keep control of your site.





diable

CrawlTrack and CrawlProtect support forum

You are not logged in.


#1 12-03-2006 09:26:23

Towerade
Membre
Registered: 22-11-2005
Posts: 54

Bug 1.30

I have thousands of this message each page


Warning: strstr(): Empty delimiter. in /home/sergiode/public_html/crawltrack/crawltrack.php on line 76

www.sergiodelatorre.com

http://img105.imageshack.us/img105/6752/error3qu.jpg

Sergio

Last edited by Towerade (12-03-2006 09:29:32)


www.sergiodelatorre.com

Offline

 

#2 12-03-2006 11:14:22

Jidébé
Administrateur
Registered: 30-10-2005
Posts: 2924

Re: Bug 1.30

Hi Sergio,

Please replace in your crawltrack.php file (create on your server) the line 75:

Code:

    
$endwhile = (stristr($agent, $data["crawler_user_agent"]) !== false);
$endwhile2 = (strstr(substr($ip,0,strlen( $data["crawler_ip"])),$data["crawler_ip"]) !== false);

by:

Code:

    
    if($data["crawler_user_agent"]!='')
        {
        $endwhile = (stristr($agent, $data["crawler_user_agent"]) !== false);
        }
if($data["crawler_ip"]!='')    
        {
        $endwhile2 = (strstr(substr($ip,0,strlen( $data["crawler_ip"])),$data["crawler_ip"]) !== false);
        }

And replace line 71:

Code:

$endwhile = false;

by:

Code:

$endwhile = false;
$endwhile2 = false;

It should be Ok, I have updated also the download files.
Please keep me informed, sorry for the inconvenience.


CrawlTrack & CrawlProtect developer

Offline

 

#3 12-03-2006 14:39:53

Towerade
Membre
Registered: 22-11-2005
Posts: 54

Re: Bug 1.30

Thats ok smile

Thanks


www.sergiodelatorre.com

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB