[PHP & MySQL] Login mit Sessions - Problem mit Checkuser.php

ShivaChewy
Da bin ich mal wieder...
Habe nun mal das Login System von hier: http://www.tutorials.de/forum/php-tutori...t-sessions.html ausprobiert. Soweit so gut.
Allerdings will mal wieder die Seite checkuser.php nicht ganz mitspielen. Hab schon so viel gegooglet. aber keine Hilfe gefunden.

Fehlermeldung:

code:
1:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /users/hundefarmdogluck/www/index2.php:3) in /users/hundefarmdogluck/www/checkuser.php on line 1


die Datei checkuser.php

php:
1:
2:
3:
4:
5:
6:
<?php session_start ();
if (!isset ($_SESSION["user_id"]))
{
  include ("formular.php");
}
?> 


Hat jemand eine Idee?
ShivaChewy
Danke, aber die haben mir nicht weitergeholfen.
ShivaChewy
Ich dachte immer an das typische Problem, dass vor dem session_start noch eine Ausgabe wäre, aber irgendwie ist da nichts (habe sogar BOM geprüft).

Ich habe jetzt z.B. in der Seite Arbeitsamt die checkuser.php ganz am Anfang includet, also:

php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
<?php
include("checkuser.php"); 
?>  
<html>

<head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Arbeitsamt</title>
</head>
....