Post
#1
|
|
|
Grupa: Developerzy Postów: 823 Pomógł: 12 Dołączył: 18.12.2005 Ostrzeżenie: (0%)
|
Mam wielki problem. Przy kodzie w pliku:
(http://www.diablo.phx.pl/z_bzdety/sesja.php) wawala błędy: Cytat Warning: session_start() [function.session-start]: open(/var/lib/php5/sess_2e42ef5925e77ddf27f1e7b08937bcf9, O_RDWR) failed: No such file or directory (2) in /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php:2) in /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php:2) in /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php on line 2 Warning: Unknown: open(/var/lib/php5/sess_2e42ef5925e77ddf27f1e7b08937bcf9, 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 (/var/lib/php5) in Unknown on line 0 widać, że sesje się źle zapisują (po 1 warningu), nie mam dostępu do php.ini i funkcji ini_set(), co mam zrobić oprócz napisania do admina w tej sprawie? |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Developerzy Postów: 823 Pomógł: 12 Dołączył: 18.12.2005 Ostrzeżenie: (0%)
|
Cytat Ten błąd oznacza że nagłówki zostały wysłane, czyli musisz buforować dane. Wstaw na początku kodu ob_start();, a na końcu ob_end_flush(); No tak, ale nie są wysyłane żadne nagłówki (patrz kod w poście #1) B dziwne (IMG:http://forum.php.pl/style_emoticons/default/angrysmiley.gif) |
|
|
|
Athlan Dziwne zachowanie sesji 2.06.2006, 16:43:02
Apo CytatWarning: session_start() [function.session-st... 2.06.2006, 17:38:58
siemakuba Cytatco mam zrobić oprócz napisania do admina w te... 2.06.2006, 18:05:39
siemakuba CytatNo tak, ale nie są wysyłane żadne nagłówkiza ... 4.06.2006, 16:40:35
rbart umnie występuje podobny problem dokładnie:
CytatW... 17.07.2006, 07:04:26
Athlan a umnie w postach wyżej (sorka że nie napisałem ja... 17.07.2006, 08:18:52
Ja_Szczur @rbart:
problem nie tkwi w kodowaniu, ale w kodow... 17.07.2006, 08:30:42
thornag Problem moze wystapic tez jesli apache jest na chr... 17.07.2006, 10:12:27 ![]() ![]() |
|
Aktualny czas: 8.08.2026 - 16:09 |