Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> session_start(), Powtarzający się problem
-Wieviór-
post
Post #1





Goście







Mam coś czego za nic nie moge zlikiwidować:

  1. include 'config.php';
  2. ?>


i błąd:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/wievior/domains/premiership.net.pl/public_html/sklep/index.php:1) in /home/wievior/domains/premiership.net.pl/public_html/sklep/index.php on line 1

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/wievior/domains/premiership.net.pl/public_html/sklep/index.php:1) in /home/wievior/domains/premiership.net.pl/public_html/sklep/index.php on line 1

Kompletnie nie rozumiem!! Wiem, że musi być na początku, ale jest przecież(IMG:http://forum.php.pl/style_emoticons/default/exclamation.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
rogrog
post
Post #2





Grupa: Zarejestrowani
Postów: 602
Pomógł: 1
Dołączył: 3.04.2004
Skąd: Trójmiasto (Gdańsk)

Ostrzeżenie: (0%)
-----


nie wiem gdzie masz umieszczony ten head.

krótko: przed ob_start() ani przed session_start() NIE MOŻE BYĆ żadnego znaku, również w plikach includowanych, require'owanych itp.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 6.10.2025 - 07:59