Gdy się loguje na portal to mam taki błąd:
Kod
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 87
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 89
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 90
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 91
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 92
Zalogowano!
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 89
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 90
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 91
Warning: Cannot modify header information - headers already sent by (output started at /home/jarek/ftp/portal/index.php:8) in /home/jarek/ftp/portal/logowanie.php on line 92
Zalogowano!
Kod z pliku logowanie PHP linie: od 65 - 97:
else { $sql_ostrzezenia = mysql_query("SELECT * FROM `mostrzezenia` WHERE `user_id` = '".$logowanie['user_id']."'"); if($ile_ostrzezen < $ile_max_ostrzezen) { } elseif($ile_ostrzezen >= $ile_max_ostrzezen) { } } } }
gdzie może leżeć problem?