ich habe ein ähnliches Problem auf VMS 1.2

Warning: Cannot modify header information - headers already sent by (output started at /home/wolfi/www/index.php:2) in /home/wolfi/www/lib/functions.lib.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /home/wolfi/www/index.php:2) in /home/wolfi/www/lib/session.lib.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /home/wolfi/www/index.php:2) in /home/wolfi/www/lib/session.lib.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /home/wolfi/www/index.php:2) in /home/wolfi/www/lib/session.lib.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /home/wolfi/www/index.php:2) in /home/wolfi/www/lib/session.lib.php on line 31
Bin auf einen neuen Server umgezogen.

Code:
lib.php on line 2
header("Cache-control: no-cache");
Code:
session.lib.php on line 25
setCookie('uid','',time()-86400*30);
Code:
session.lib.php on line 27
setCookie('autologin','',time()-86400*30);
Code:
session.lib.php on line 31
$_SESSION['login']  = "";
Hat jemand für das Problem eine Lösung?

PS: Ich hab das script neuinstalliert und es geht. Also am Server liegt es nicht