Witam.
Mam taki problem:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/halian/domains/halian.linuxpl.info/public_html/index.php:10) in /home/halian/domains/halian.linuxpl.info/public_html/index.php on line 46
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/halian/domains/halian.linuxpl.info/public_html/index.php:10) in /home/halian/domains/halian.linuxpl.info/public_html/index.php on line 46[/code]
Czy ktoś miał kiedys taki problem??
Na moim serwerze nie ma tego błędu wszystko działa a na tym serwerze coś jest nie tak.
Ten błąd wywala w tym kodzie:
[code]
<?php session_start(); if (empty($_SESSION[‘nick’])) { $nick = “gość”; echo “Nie jesteś zalogowany, zaloguj się.”; } ?>
Jeśli ktoś wie jak to naprawić to bardzo proszę o pomoc.
Szukałem w google ale to co znalazłem to nie pomaga.
czytałem żeby zmienić kodowanie albo utworzyć folder tmp ale to nic nie dało.
Bardzo proszę o pomoc.