PDA

View Full Version : weird error



kaamos
12-17-2004, 09:21 AM
everything seems to be running ok but above the stats theres this error line that always appears:


Notice: Undefined variable: newline in C:\Arquivos de programas\EasyPHP1-7\www\apo7\counter\classes\filedb.php on line 150
People Online: 1
Today's Visitors: 1
Total Visitors: 1
Total Hits: 2

help please?

kaamos
12-20-2004, 10:52 AM
thank you very much for the support. <_<

Patrick
12-20-2004, 03:55 PM
Heh, away away. So sorry. Bills needed to be paid but weren't. Consider the value of your the free script ;)

Your error reporting for PHP is set too high. This is partly my fault, I should have set the error reporting myself in the script.

To fix, open up counter.php and change:

<?php global $DB, $OPTION;
to

<?php global $DB, $OPTION; error_reporting(E_ALL ^ E_NOTICE);