Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Obsluga sesji, Qrde no. CO to za error? :/
qbatoja
post
Post #1





Grupa: Zarejestrowani
Postów: 52
Pomógł: 0
Dołączył: 3.05.2005

Ostrzeżenie: (10%)
X----


Witam.
Moj kod php to:
  1. <?php
  2. if (!isset($_SESSION['count'])) {
  3. $_SESSION['count'] = 0;
  4. } else {
  5. $_SESSION['count']++;
  6. }
  7. ?>


I mi wyskakuje:
Warning: session_start(): open(/tmp\sess_93fadf2e450f5ded78a3067c47a21b28, O_RDWR) failed: No such file or directory (2) in C:\Apache2\htdocs\sesje\1.php on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Apache2\htdocs\sesje\1.php:2) in C:\Apache2\htdocs\sesje\1.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Apache2\htdocs\sesje\1.php:2) in C:\Apache2\htdocs\sesje\1.php on line 2

Warning: Unknown(): open(/tmp\sess_93fadf2e450f5ded78a3067c47a21b28, 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

(IMG:http://forum.php.pl/style_emoticons/default/dry.gif) OCB?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
-saphiru-
post
Post #2





Goście







no mi wyskakuje ten sam blad

[Sat Oct 15 19:36:25 2005] [error] [client 127.0.0.1] php Warning: session_start() [<a href='http://www.php.net/function.session-start'>function.session-start</a>]: open(/tmp\sess_5d88accb9989bbeb12af23ed3ba91994, O_RDWR) failed: No such file or directory (2) in c:\program files\apache group\apache\htdocs\spock\start\logowanie_dalej_admin.php on line 2

[Sat Oct 15 19:36:25 2005] [error] [client 127.0.0.1] php Warning: session_start() [<a href='http://www.php.net/function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in c:\program files\apache group\apache\htdocs\spock\start\logowanie_dalej_admin.php on line 2

[Sat Oct 15 19:36:25 2005] [error] [client 127.0.0.1] php Warning: session_start() [<a href='http://www.php.net/function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent in c:\program files\apache group\apache\htdocs\spock\start\logowanie_dalej_admin.php on line 2

[Sat Oct 15 19:36:25 2005] [error] [client 127.0.0.1] php Warning: Unknown(): open(/tmp\sess_5d88accb9989bbeb12af23ed3ba91994, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Sat Oct 15 19:36:25 2005] [error] [client 127.0.0.1] php 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

z tym ze zmienilem juz ustawilem session.save_path = c:\winnt\tmp
i dalej nic.
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: 3.10.2025 - 04:48