Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> BŁĄD W SESJACH
maciej
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 29.07.2004

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


Warning: session_register(): Cannot send session cookie - headers already sent by (output started at /admin.php:2) in /admin.php on line 2

Warning: session_register(): Cannot send session cache limiter - headers already sent (output started at /admin.php:2) in /admin.php on line 2

Warning: Unknown(): open(/tmp/sess_9febcb1b501077146a12f1197c78eefd, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


Czy ktoś może wyjaśnić mi na czym polegają te błędy? Moje skrytpy nie wykorzystują sesji, ale są umieszczone na serwerze ze stroną, która sesje wykorzystuje. HELP!!!
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%)
-----


na te błędy (headers already sent) powinno zaradzić stosowanie output bufferingu

daj na samym początku każdej stronki
  1. <?php
  2. ?>


na ten błąd "failed to write session data" to co mowil _kicaj


ale generalnie to wogóle nie powinno się włączać - przecież nie wykorzystujesz w swoim skrypcie sesji. sprawdź czy serwer nie ma automatycznego include (do tamtej stronki).
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: 15.10.2025 - 23:48