Mam problem dotyczący funkcji session_start();
miałem hosting na cba.pl i wszystko działało bez zarzutu.
Jednak po przejściu na hosting PRO xaa.pl zaczęło wywalać błędy :
Kod
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/nopehax/public_html/panel/index.php:7) in /home/nopehax/public_html/panel/config.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/nopehax/public_html/panel/index.php:7) in /home/nopehax/public_html/panel/config.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/nopehax/public_html/panel/index.php:7) in /home/nopehax/public_html/panel/config.php on line 2
Kod pliku :
mysql_connect("mysql.cba.pl","*****","*****") or die(mysql_error()."Nie mozna polaczyc sie z baza danych. Prosze chwile odczekac i sprobowac ponownie."); ?>
Dodam że robiłem skrypt w notepad++ z funkcją utf-8 bez BOM
Wiem że ten temat był poruszany wielokrotnie ale to jest inny powód tego błędu, próbowałem już wszystkich zaleceń