Login   Register  
PHP Classes
elePHPant
Icontem

Errors first visits

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Access Statistics  >  All threads  >  Errors first visits  >  (Un) Subscribe thread alerts  
Subject:Errors first visits
Summary:At first visit errors displayed
Messages:1
Author:matthijs
Date:2005-12-13 07:51:08
 

  1. Errors first visits   Reply  
Picture of matthijs
matthijs
2005-12-13 07:51:08
Hi Israel,
I noticed that when using this class, every time a page is visited for the first time and/or for the first time by a user agent, the following errors are displayed:

Notice: Undefined variable: found in /home/httpd/vhosts/mydomain.nl/subdomains/test/httpdocs/stats/accessControl.class.php on line 87

Notice: Undefined variable: found in /home/httpd/vhosts/mydomain.nl/subdomains/test/httpdocs/stats/accessControl.class.php on line 124

Line 87 is:
if (!$found)
$this->arr[] = $str . "\t0\t0\t0\n";
$this->_processLog($desc);
fclose($desc);
}
Line 124 is:
if (!$found)
$this->arr[] = $str . "\t0\t$ind\n";
$this->_processLog($desc);
fclose($desc);
}

Any suggestions?
Thanks,
Matthijs