Seite 1 von 1

Zugriffsstatistik implementieren

Verfasst: 29.08.2009 20:56
von Christoph1968
Hallo,
ich benutze die Powerstatistik V.2.0 von http://www.webmaster-power.de um beim Erstbesuch einer
Seite (innerhalb der aktuellen Session) einen Datenbankeintrag mit den entsprechenden Userdaten zu erzeugen.
Ich erreiche das durch

Code: Alles auswählen

if(!isset($_SESSION["statistik"]))
{
include "$document_root/statistik/readstat.php";
$_SESSION["statistik"] = 1;
}
Nur wenn ich versuche, das irgendwo (wo auch immer) in die index.php des Forums einzubauen,
bekomme ich nur Fehlermeldungen wie

Code: Alles auswählen

phpBB Debug] PHP Notice: in file /includes/functions.php on line 3824: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1159969_BFJXC8FD8Z/www/statistik/readstat.php:12)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3826: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1159969_BFJXC8FD8Z/www/statistik/readstat.php:12)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3827: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1159969_BFJXC8FD8Z/www/statistik/readstat.php:12)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3828: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1159969_BFJXC8FD8Z/www/statistik/readstat.php:12)
Irgendetwas scheine ich da grundlegend falsch verstanden zu haben ?!?

Fuer Ratschlaege waere ich dankbar